diff --git a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/async_client.py b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/async_client.py index 1279ebdbc08c..7238cf6dc244 100644 --- a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/async_client.py +++ b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/async_client.py @@ -225,6 +225,13 @@ async def create_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 async def sample_create_budget(): @@ -339,6 +346,13 @@ async def update_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 async def sample_update_budget(): @@ -470,6 +484,13 @@ async def get_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 async def sample_get_budget(): @@ -586,6 +607,13 @@ async def list_budgets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 async def sample_list_budgets(): @@ -704,6 +732,13 @@ async def delete_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 async def sample_delete_budget(): diff --git a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/client.py b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/client.py index a85b56a7f3c6..ff732bf01ac2 100644 --- a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/client.py +++ b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1/services/budget_service/client.py @@ -445,6 +445,13 @@ def create_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 def sample_create_budget(): @@ -559,6 +566,13 @@ def update_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 def sample_update_budget(): @@ -680,6 +694,13 @@ def get_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 def sample_get_budget(): @@ -786,6 +807,13 @@ def list_budgets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 def sample_list_budgets(): @@ -894,6 +922,13 @@ def delete_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 def sample_delete_budget(): diff --git a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py index 0e7b7a000eb6..244bd3ba4696 100644 --- a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py +++ b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/async_client.py @@ -221,6 +221,13 @@ async def create_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 async def sample_create_budget(): @@ -304,6 +311,13 @@ async def update_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 async def sample_update_budget(): @@ -399,6 +413,13 @@ async def get_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 async def sample_get_budget(): @@ -493,6 +514,13 @@ async def list_budgets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 async def sample_list_budgets(): @@ -588,6 +616,13 @@ async def delete_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 async def sample_delete_budget(): diff --git a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py index bc141298ae34..b14537285299 100644 --- a/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py +++ b/packages/google-cloud-billing-budgets/google/cloud/billing/budgets_v1beta1/services/budget_service/client.py @@ -441,6 +441,13 @@ def create_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 def sample_create_budget(): @@ -525,6 +532,13 @@ def update_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 def sample_update_budget(): @@ -611,6 +625,13 @@ def get_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 def sample_get_budget(): @@ -696,6 +717,13 @@ def list_budgets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 def sample_list_budgets(): @@ -782,6 +810,13 @@ def delete_budget( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 def sample_delete_budget(): diff --git a/packages/google-cloud-billing-budgets/mypy.ini b/packages/google-cloud-billing-budgets/mypy.ini index 4505b485436b..574c5aed394b 100644 --- a/packages/google-cloud-billing-budgets/mypy.ini +++ b/packages/google-cloud-billing-budgets/mypy.ini @@ -1,3 +1,3 @@ [mypy] -python_version = 3.6 +python_version = 3.7 namespace_packages = True diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_async.py index 3bd38c932c59..b4d7a098a82c 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_CreateBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_sync.py index 0402109e5cd7..2c20f1f9fc2b 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_create_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_CreateBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_async.py index 24147c477725..8373d91245dd 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_DeleteBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_sync.py index b12024134872..d35a67b89786 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_delete_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_DeleteBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_async.py index 411a68d306bc..3cad25b20e7e 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_GetBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_sync.py index 924d0955d47f..378c6b117a24 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_get_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_GetBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_async.py index edbdce0a1047..d06185890396 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_ListBudgets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_sync.py index f71b961a0769..f860bc402c5a 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_list_budgets_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_ListBudgets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_async.py index e480a2da2e1e..3e229fe6a8cf 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_UpdateBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_sync.py index 362065a7c961..05e20f669bb8 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1_generated_budget_service_update_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1_generated_BudgetService_UpdateBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_async.py index 49bbbd7b1e53..c4a014d3ee6c 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_CreateBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py index 3af636427161..aa3fcd233178 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_create_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_CreateBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py index 8138103e7c26..281c204708bc 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py index 148fb3a47cd2..91efb7dd7030 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_delete_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_async.py index ead3f843f1ae..3ee9378e1813 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_GetBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py index a4b55b0feb7e..da298aefe97f 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_get_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_GetBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py index f33d7ff72be0..956e2ab004af 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_ListBudgets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py index c31c84128c53..03cfe9127a51 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_list_budgets_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_ListBudgets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_async.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_async.py index 4fa4ed556a6b..f0426451b789 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_async.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_async.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py index 04e8105fc6b7..b86b8010c79f 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/billingbudgets_v1beta1_generated_budget_service_update_budget_sync.py @@ -24,6 +24,13 @@ # [START billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud.billing import budgets_v1beta1 diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1.json b/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1.json index 465fffe63b18..fde9e8412768 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1.json +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1.json @@ -63,33 +63,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_CreateBudget_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -147,33 +147,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_CreateBudget_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -227,31 +227,31 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_DeleteBudget_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -304,31 +304,31 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_DeleteBudget_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -383,33 +383,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_GetBudget_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -463,33 +463,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_GetBudget_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -544,33 +544,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_ListBudgets_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -624,33 +624,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_ListBudgets_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -709,33 +709,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_UpdateBudget_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -793,33 +793,33 @@ "regionTag": "billingbudgets_v1_generated_BudgetService_UpdateBudget_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], diff --git a/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1beta1.json b/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1beta1.json index 24fb61e898ad..de4fb73ed42a 100644 --- a/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1beta1.json +++ b/packages/google-cloud-billing-budgets/samples/generated_samples/snippet_metadata_budgets_v1beta1.json @@ -55,33 +55,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_CreateBudget_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -131,33 +131,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_CreateBudget_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -207,31 +207,31 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -280,31 +280,31 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_DeleteBudget_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -355,33 +355,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_GetBudget_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -431,33 +431,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_GetBudget_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -508,33 +508,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_ListBudgets_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -584,33 +584,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_ListBudgets_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -661,33 +661,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -737,33 +737,33 @@ "regionTag": "billingbudgets_v1beta1_generated_BudgetService_UpdateBudget_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ],