Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#185)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.63.4

chore: fix snippet region tag format
chore: fix docstring code block formatting
PiperOrigin-RevId: 430730865

Source-Link: googleapis/googleapis@ea58002

Source-Link: googleapis/googleapis-gen@ca893ff
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* chore: delete duplicates

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 25, 2022
1 parent afa7aad commit 59efd2f
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ async def list_traces(
filter conditions.
.. code-block::
.. code-block:: python
from google.cloud import trace_v1
Expand Down Expand Up @@ -320,7 +320,7 @@ async def get_trace(
) -> trace.Trace:
r"""Gets a single trace by its ID.
.. code-block::
.. code-block:: python
from google.cloud import trace_v1
Expand Down Expand Up @@ -433,7 +433,7 @@ async def patch_traces(
a new trace is created.
.. code-block::
.. code-block:: python
from google.cloud import trace_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,7 @@ def list_traces(
filter conditions.
.. code-block::
.. code-block:: python
from google.cloud import trace_v1
Expand Down Expand Up @@ -496,8 +495,7 @@ def get_trace(
) -> trace.Trace:
r"""Gets a single trace by its ID.
.. code-block::
.. code-block:: python
from google.cloud import trace_v1
Expand Down Expand Up @@ -600,8 +598,7 @@ def patch_traces(
a new trace is created.
.. code-block::
.. code-block:: python
from google.cloud import trace_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ async def batch_write_spans(
update existing spans.
.. code-block::
.. code-block:: python
from google.cloud import trace_v2
Expand Down Expand Up @@ -315,7 +315,7 @@ async def create_span(
) -> trace.Span:
r"""Creates a new span.
.. code-block::
.. code-block:: python
from google.cloud import trace_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,7 @@ def batch_write_spans(
update existing spans.
.. code-block::
.. code-block:: python
from google.cloud import trace_v2
Expand Down Expand Up @@ -515,8 +514,7 @@ def create_span(
) -> trace.Span:
r"""Creates a new span.
.. code-block::
.. code-block:: python
from google.cloud import trace_v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v1_TraceService_GetTrace_async]
# [START cloudtrace_v1_generated_TraceService_GetTrace_async]
from google.cloud import trace_v1


Expand All @@ -43,4 +43,4 @@ async def sample_get_trace():
# Handle the response
print(response)

# [END cloudtrace_generated_trace_v1_TraceService_GetTrace_async]
# [END cloudtrace_v1_generated_TraceService_GetTrace_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v1_TraceService_GetTrace_sync]
# [START cloudtrace_v1_generated_TraceService_GetTrace_sync]
from google.cloud import trace_v1


Expand All @@ -43,4 +43,4 @@ def sample_get_trace():
# Handle the response
print(response)

# [END cloudtrace_generated_trace_v1_TraceService_GetTrace_sync]
# [END cloudtrace_v1_generated_TraceService_GetTrace_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v1_TraceService_ListTraces_async]
# [START cloudtrace_v1_generated_TraceService_ListTraces_async]
from google.cloud import trace_v1


Expand All @@ -43,4 +43,4 @@ async def sample_list_traces():
async for response in page_result:
print(response)

# [END cloudtrace_generated_trace_v1_TraceService_ListTraces_async]
# [END cloudtrace_v1_generated_TraceService_ListTraces_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v1_TraceService_ListTraces_sync]
# [START cloudtrace_v1_generated_TraceService_ListTraces_sync]
from google.cloud import trace_v1


Expand All @@ -43,4 +43,4 @@ def sample_list_traces():
for response in page_result:
print(response)

# [END cloudtrace_generated_trace_v1_TraceService_ListTraces_sync]
# [END cloudtrace_v1_generated_TraceService_ListTraces_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v1_TraceService_PatchTraces_async]
# [START cloudtrace_v1_generated_TraceService_PatchTraces_async]
from google.cloud import trace_v1


Expand All @@ -40,4 +40,4 @@ async def sample_patch_traces():
await client.patch_traces(request=request)


# [END cloudtrace_generated_trace_v1_TraceService_PatchTraces_async]
# [END cloudtrace_v1_generated_TraceService_PatchTraces_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v1_TraceService_PatchTraces_sync]
# [START cloudtrace_v1_generated_TraceService_PatchTraces_sync]
from google.cloud import trace_v1


Expand All @@ -40,4 +40,4 @@ def sample_patch_traces():
client.patch_traces(request=request)


# [END cloudtrace_generated_trace_v1_TraceService_PatchTraces_sync]
# [END cloudtrace_v1_generated_TraceService_PatchTraces_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v2_TraceService_BatchWriteSpans_async]
# [START cloudtrace_v2_generated_TraceService_BatchWriteSpans_async]
from google.cloud import trace_v2


Expand All @@ -45,4 +45,4 @@ async def sample_batch_write_spans():
await client.batch_write_spans(request=request)


# [END cloudtrace_generated_trace_v2_TraceService_BatchWriteSpans_async]
# [END cloudtrace_v2_generated_TraceService_BatchWriteSpans_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v2_TraceService_BatchWriteSpans_sync]
# [START cloudtrace_v2_generated_TraceService_BatchWriteSpans_sync]
from google.cloud import trace_v2


Expand All @@ -45,4 +45,4 @@ def sample_batch_write_spans():
client.batch_write_spans(request=request)


# [END cloudtrace_generated_trace_v2_TraceService_BatchWriteSpans_sync]
# [END cloudtrace_v2_generated_TraceService_BatchWriteSpans_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v2_TraceService_CreateSpan_async]
# [START cloudtrace_v2_generated_TraceService_CreateSpan_async]
from google.cloud import trace_v2


Expand All @@ -43,4 +43,4 @@ async def sample_create_span():
# Handle the response
print(response)

# [END cloudtrace_generated_trace_v2_TraceService_CreateSpan_async]
# [END cloudtrace_v2_generated_TraceService_CreateSpan_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-trace


# [START cloudtrace_generated_trace_v2_TraceService_CreateSpan_sync]
# [START cloudtrace_v2_generated_TraceService_CreateSpan_sync]
from google.cloud import trace_v2


Expand All @@ -43,4 +43,4 @@ def sample_create_span():
# Handle the response
print(response)

# [END cloudtrace_generated_trace_v2_TraceService_CreateSpan_sync]
# [END cloudtrace_v2_generated_TraceService_CreateSpan_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"shortName": "GetTrace"
}
},
"file": "cloudtrace_generated_trace_v1_trace_service_get_trace_async.py",
"regionTag": "cloudtrace_generated_trace_v1_TraceService_GetTrace_async",
"file": "cloudtrace_v1_generated_trace_service_get_trace_async.py",
"regionTag": "cloudtrace_v1_generated_TraceService_GetTrace_async",
"segments": [
{
"end": 45,
Expand Down Expand Up @@ -54,8 +54,8 @@
"shortName": "GetTrace"
}
},
"file": "cloudtrace_generated_trace_v1_trace_service_get_trace_sync.py",
"regionTag": "cloudtrace_generated_trace_v1_TraceService_GetTrace_sync",
"file": "cloudtrace_v1_generated_trace_service_get_trace_sync.py",
"regionTag": "cloudtrace_v1_generated_TraceService_GetTrace_sync",
"segments": [
{
"end": 45,
Expand Down Expand Up @@ -99,8 +99,8 @@
"shortName": "ListTraces"
}
},
"file": "cloudtrace_generated_trace_v1_trace_service_list_traces_async.py",
"regionTag": "cloudtrace_generated_trace_v1_TraceService_ListTraces_async",
"file": "cloudtrace_v1_generated_trace_service_list_traces_async.py",
"regionTag": "cloudtrace_v1_generated_TraceService_ListTraces_async",
"segments": [
{
"end": 45,
Expand Down Expand Up @@ -143,8 +143,8 @@
"shortName": "ListTraces"
}
},
"file": "cloudtrace_generated_trace_v1_trace_service_list_traces_sync.py",
"regionTag": "cloudtrace_generated_trace_v1_TraceService_ListTraces_sync",
"file": "cloudtrace_v1_generated_trace_service_list_traces_sync.py",
"regionTag": "cloudtrace_v1_generated_TraceService_ListTraces_sync",
"segments": [
{
"end": 45,
Expand Down Expand Up @@ -188,8 +188,8 @@
"shortName": "PatchTraces"
}
},
"file": "cloudtrace_generated_trace_v1_trace_service_patch_traces_async.py",
"regionTag": "cloudtrace_generated_trace_v1_TraceService_PatchTraces_async",
"file": "cloudtrace_v1_generated_trace_service_patch_traces_async.py",
"regionTag": "cloudtrace_v1_generated_TraceService_PatchTraces_async",
"segments": [
{
"end": 42,
Expand Down Expand Up @@ -230,8 +230,8 @@
"shortName": "PatchTraces"
}
},
"file": "cloudtrace_generated_trace_v1_trace_service_patch_traces_sync.py",
"regionTag": "cloudtrace_generated_trace_v1_TraceService_PatchTraces_sync",
"file": "cloudtrace_v1_generated_trace_service_patch_traces_sync.py",
"regionTag": "cloudtrace_v1_generated_TraceService_PatchTraces_sync",
"segments": [
{
"end": 42,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"shortName": "BatchWriteSpans"
}
},
"file": "cloudtrace_generated_trace_v2_trace_service_batch_write_spans_async.py",
"regionTag": "cloudtrace_generated_trace_v2_TraceService_BatchWriteSpans_async",
"file": "cloudtrace_v2_generated_trace_service_batch_write_spans_async.py",
"regionTag": "cloudtrace_v2_generated_TraceService_BatchWriteSpans_async",
"segments": [
{
"end": 47,
Expand Down Expand Up @@ -52,8 +52,8 @@
"shortName": "BatchWriteSpans"
}
},
"file": "cloudtrace_generated_trace_v2_trace_service_batch_write_spans_sync.py",
"regionTag": "cloudtrace_generated_trace_v2_TraceService_BatchWriteSpans_sync",
"file": "cloudtrace_v2_generated_trace_service_batch_write_spans_sync.py",
"regionTag": "cloudtrace_v2_generated_TraceService_BatchWriteSpans_sync",
"segments": [
{
"end": 47,
Expand Down Expand Up @@ -95,8 +95,8 @@
"shortName": "CreateSpan"
}
},
"file": "cloudtrace_generated_trace_v2_trace_service_create_span_async.py",
"regionTag": "cloudtrace_generated_trace_v2_TraceService_CreateSpan_async",
"file": "cloudtrace_v2_generated_trace_service_create_span_async.py",
"regionTag": "cloudtrace_v2_generated_TraceService_CreateSpan_async",
"segments": [
{
"end": 45,
Expand Down Expand Up @@ -139,8 +139,8 @@
"shortName": "CreateSpan"
}
},
"file": "cloudtrace_generated_trace_v2_trace_service_create_span_sync.py",
"regionTag": "cloudtrace_generated_trace_v2_TraceService_CreateSpan_sync",
"file": "cloudtrace_v2_generated_trace_service_create_span_sync.py",
"regionTag": "cloudtrace_v2_generated_TraceService_CreateSpan_sync",
"segments": [
{
"end": 45,
Expand Down

0 comments on commit 59efd2f

Please sign in to comment.