Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#151)
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 da6a591 commit 2df9a74
Show file tree
Hide file tree
Showing 29 changed files with 120 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async def get_billing_account(
account <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -318,7 +318,7 @@ async def list_billing_accounts(
`view <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -406,7 +406,7 @@ async def update_billing_account(
of the billing account.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -527,7 +527,7 @@ async def create_billing_account(
been provisioned as a reseller account.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -620,7 +620,7 @@ async def list_project_billing_info(
`viewers <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -733,7 +733,7 @@ async def get_project_billing_info(
project <https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -874,7 +874,7 @@ async def update_project_billing_info(
account.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -992,7 +992,7 @@ async def get_iam_policy(
`viewers <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -1152,7 +1152,7 @@ async def set_iam_policy(
`administrators <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -1313,7 +1313,7 @@ async def test_iam_permissions(
resource.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,7 @@ def get_billing_account(
account <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -494,8 +493,7 @@ def list_billing_accounts(
`view <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -574,8 +572,7 @@ def update_billing_account(
of the billing account.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -686,8 +683,7 @@ def create_billing_account(
been provisioned as a reseller account.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -780,8 +776,7 @@ def list_project_billing_info(
`viewers <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -886,8 +881,7 @@ def get_project_billing_info(
project <https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -1018,8 +1012,7 @@ def update_project_billing_info(
account.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -1129,8 +1122,7 @@ def get_iam_policy(
`viewers <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -1279,8 +1271,7 @@ def set_iam_policy(
`administrators <https://cloud.google.com/billing/docs/how-to/billing-access>`__.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -1430,8 +1421,7 @@ def test_iam_permissions(
resource.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ async def list_services(
) -> pagers.ListServicesAsyncPager:
r"""Lists all public cloud services.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -285,7 +285,7 @@ async def list_skus(
service.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,7 @@ def list_services(
) -> pagers.ListServicesPager:
r"""Lists all public cloud services.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down Expand Up @@ -490,8 +489,7 @@ def list_skus(
service.
.. code-block::
.. code-block:: python
from google.cloud import billing_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-billing


# [START cloudbilling_generated_billing_v1_CloudBilling_CreateBillingAccount_async]
# [START cloudbilling_v1_generated_CloudBilling_CreateBillingAccount_async]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_CreateBillingAccount_sync]
# [START cloudbilling_v1_generated_CloudBilling_CreateBillingAccount_sync]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_GetBillingAccount_async]
# [START cloudbilling_v1_generated_CloudBilling_GetBillingAccount_async]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_GetBillingAccount_sync]
# [START cloudbilling_v1_generated_CloudBilling_GetBillingAccount_sync]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_GetIamPolicy_async]
# [START cloudbilling_v1_generated_CloudBilling_GetIamPolicy_async]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_GetIamPolicy_sync]
# [START cloudbilling_v1_generated_CloudBilling_GetIamPolicy_sync]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_GetProjectBillingInfo_async]
# [START cloudbilling_v1_generated_CloudBilling_GetProjectBillingInfo_async]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_GetProjectBillingInfo_sync]
# [START cloudbilling_v1_generated_CloudBilling_GetProjectBillingInfo_sync]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_ListBillingAccounts_async]
# [START cloudbilling_v1_generated_CloudBilling_ListBillingAccounts_async]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_ListBillingAccounts_sync]
# [START cloudbilling_v1_generated_CloudBilling_ListBillingAccounts_sync]
from google.cloud import billing_v1


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

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


# [START cloudbilling_generated_billing_v1_CloudBilling_ListProjectBillingInfo_async]
# [START cloudbilling_v1_generated_CloudBilling_ListProjectBillingInfo_async]
from google.cloud import billing_v1


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

# [END cloudbilling_generated_billing_v1_CloudBilling_ListProjectBillingInfo_async]
# [END cloudbilling_v1_generated_CloudBilling_ListProjectBillingInfo_async]
Loading

0 comments on commit 2df9a74

Please sign in to comment.