Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#128)
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

* remove redundant samples

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <[email protected]>
  • Loading branch information
3 people authored Feb 25, 2022
1 parent 7e13124 commit d623f28
Show file tree
Hide file tree
Showing 26 changed files with 100 additions and 110 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ async def create_workload(
) -> operation_async.AsyncOperation:
r"""Creates Assured Workload.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -347,7 +347,7 @@ async def update_workload(
workload can be in progress.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -458,7 +458,7 @@ async def delete_workload(
with a FAILED_PRECONDITION error.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -538,7 +538,7 @@ async def get_workload(
) -> assuredworkloads.Workload:
r"""Gets Assured Workload associated with a CRM Node
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -632,7 +632,7 @@ async def list_workloads(
) -> pagers.ListWorkloadsAsyncPager:
r"""Lists Assured Workloads under a CRM Node.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,7 @@ def create_workload(
) -> operation.Operation:
r"""Creates Assured Workload.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -540,8 +539,7 @@ def update_workload(
workload can be in progress.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -652,8 +650,7 @@ def delete_workload(
with a FAILED_PRECONDITION error.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -733,8 +730,7 @@ def get_workload(
) -> assuredworkloads.Workload:
r"""Gets Assured Workload associated with a CRM Node
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down Expand Up @@ -828,8 +824,7 @@ def list_workloads(
) -> pagers.ListWorkloadsPager:
r"""Lists Assured Workloads under a CRM Node.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async def create_workload(
) -> operation_async.AsyncOperation:
r"""Creates Assured Workload.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -348,7 +348,7 @@ async def update_workload(
workload can be in progress.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -458,7 +458,7 @@ async def delete_workload(
with a FAILED_PRECONDITION error.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -547,7 +547,7 @@ async def get_workload(
) -> assuredworkloads_v1beta1.Workload:
r"""Gets Assured Workload associated with a CRM Node
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -650,7 +650,7 @@ async def list_workloads(
) -> pagers.ListWorkloadsAsyncPager:
r"""Lists Assured Workloads under a CRM Node.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,7 @@ def create_workload(
) -> operation.Operation:
r"""Creates Assured Workload.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -541,8 +540,7 @@ def update_workload(
workload can be in progress.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -652,8 +650,7 @@ def delete_workload(
with a FAILED_PRECONDITION error.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -733,8 +730,7 @@ def get_workload(
) -> assuredworkloads_v1beta1.Workload:
r"""Gets Assured Workload associated with a CRM Node
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down Expand Up @@ -828,8 +824,7 @@ def list_workloads(
) -> pagers.ListWorkloadsPager:
r"""Lists Assured Workloads under a CRM Node.
.. code-block::
.. code-block:: python
from google.cloud import assuredworkloads_v1beta1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_async]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_CreateWorkload_async]
from google.cloud import assuredworkloads_v1


Expand Down Expand Up @@ -52,4 +52,4 @@ async def sample_create_workload():
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_async]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_CreateWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_sync]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_CreateWorkload_sync]
from google.cloud import assuredworkloads_v1


Expand Down Expand Up @@ -52,4 +52,4 @@ def sample_create_workload():
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_sync]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_CreateWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_async]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_DeleteWorkload_async]
from google.cloud import assuredworkloads_v1


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


# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_async]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_DeleteWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_sync]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_DeleteWorkload_sync]
from google.cloud import assuredworkloads_v1


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


# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_sync]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_DeleteWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_async]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_GetWorkload_async]
from google.cloud import assuredworkloads_v1


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

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_async]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_GetWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_sync]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_GetWorkload_sync]
from google.cloud import assuredworkloads_v1


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

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_sync]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_GetWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_ListWorkloads_async]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_ListWorkloads_async]
from google.cloud import assuredworkloads_v1


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

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_ListWorkloads_async]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_ListWorkloads_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_ListWorkloads_sync]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_ListWorkloads_sync]
from google.cloud import assuredworkloads_v1


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

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_ListWorkloads_sync]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_ListWorkloads_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_async]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_UpdateWorkload_async]
from google.cloud import assuredworkloads_v1


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

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_async]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_UpdateWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_sync]
# [START assuredworkloads_v1_generated_AssuredWorkloadsService_UpdateWorkload_sync]
from google.cloud import assuredworkloads_v1


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

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_sync]
# [END assuredworkloads_v1_generated_AssuredWorkloadsService_UpdateWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_async]
# [START assuredworkloads_v1beta1_generated_AssuredWorkloadsService_CreateWorkload_async]
from google.cloud import assuredworkloads_v1beta1


Expand Down Expand Up @@ -51,4 +51,4 @@ async def sample_create_workload():
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_async]
# [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_CreateWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_sync]
# [START assuredworkloads_v1beta1_generated_AssuredWorkloadsService_CreateWorkload_sync]
from google.cloud import assuredworkloads_v1beta1


Expand Down Expand Up @@ -51,4 +51,4 @@ def sample_create_workload():
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_sync]
# [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_CreateWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_async]
# [START assuredworkloads_v1beta1_generated_AssuredWorkloadsService_DeleteWorkload_async]
from google.cloud import assuredworkloads_v1beta1


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


# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_async]
# [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_DeleteWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-assured-workloads


# [START assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_sync]
# [START assuredworkloads_v1beta1_generated_AssuredWorkloadsService_DeleteWorkload_sync]
from google.cloud import assuredworkloads_v1beta1


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


# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_sync]
# [END assuredworkloads_v1beta1_generated_AssuredWorkloadsService_DeleteWorkload_sync]
Loading

0 comments on commit d623f28

Please sign in to comment.