diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_async.py index 46380a92b6e2..f9caabe8e6e1 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_async.py index db412762851d..e1305583a82d 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_sync.py index c3aa140669f8..dd4fb419dad4 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_longrunning_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_sync.py index 9a0a2e54c8b6..3d592e390b7c 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_iam_policy_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_async.py index 683e076e4859..a8a8ec862353 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_AnalyzeMove_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_sync.py index 41e5bd209114..527907dc4e04 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_analyze_move_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_AnalyzeMove_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_async.py index 36489d63b00e..a54a5e1daafc 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_sync.py index 680f02c0f5c7..5df919fe4d72 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_assets_history_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_async.py index 1b668f585758..13d9c1330c1f 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_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 import asset_v1 @@ -34,7 +41,7 @@ async def sample_batch_get_effective_iam_policies(): # Initialize request argument(s) request = asset_v1.BatchGetEffectiveIamPoliciesRequest( scope="scope_value", - names=['names_value_1', 'names_value_2'], + names=['names_value1', 'names_value2'], ) # Make the request diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_sync.py index 82bfbd0d745c..5f003121dae5 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_batch_get_effective_iam_policies_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_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 import asset_v1 @@ -34,7 +41,7 @@ def sample_batch_get_effective_iam_policies(): # Initialize request argument(s) request = asset_v1.BatchGetEffectiveIamPoliciesRequest( scope="scope_value", - names=['names_value_1', 'names_value_2'], + names=['names_value1', 'names_value2'], ) # Make the request diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_async.py index 7a0a5bf4bd01..668903c5ee28 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_CreateFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_sync.py index 612e6e13af6f..ce7b974b87fd 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_CreateFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_async.py index d5edb69cd17a..4d5b5286946d 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_CreateSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_sync.py index 1601b6ed8d75..5dd1e4d42d80 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_create_saved_query_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_CreateSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_async.py index 86660f4f2050..0dcea55aade1 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_DeleteFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_sync.py index ec710e646bb9..735baf2c1d80 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_DeleteFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_async.py index e0013fe806e2..78856627b06f 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_DeleteSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_sync.py index 9d6edc66944e..f2cbe896265d 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_delete_saved_query_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_DeleteSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_async.py index aea177ab7ff9..f9ca7f174252 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ExportAssets_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_sync.py index c536997de12c..60816961b550 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_export_assets_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ExportAssets_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_async.py index d9adab2adc00..b5b9a6e1a391 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_GetFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_sync.py index 81b3b9adcab1..41d119391094 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_GetFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_async.py index 7c606c81cd79..d6605762670b 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_GetSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_sync.py index ed758e8bc01e..d4a5568297bd 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_get_saved_query_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_GetSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_async.py index 2e48093c8077..65ef19c875f5 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ListAssets_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_sync.py index ed8981813fb8..f2e41b183ba1 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_assets_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ListAssets_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_async.py index ec138b7375b1..88f0613f33b1 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ListFeeds_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_sync.py index 2822c78bd066..3ee6b48bdb12 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_feeds_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ListFeeds_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_async.py index 7bf406c8f052..e3f3b95cc0fb 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ListSavedQueries_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_sync.py index cb0be1471248..262f82c0a3d4 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_list_saved_queries_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_ListSavedQueries_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_async.py index 3806695b8ea5..79714d1b2060 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_QueryAssets_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_sync.py index 73e5dee729ad..593228338727 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_query_assets_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_QueryAssets_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_async.py index 282ea53bcbea..367eae93c841 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_sync.py index 542da876b8d3..ca656c399840 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_iam_policies_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_async.py index c43226442b15..1757ab26d5b5 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_SearchAllResources_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_sync.py index c2bf14027ae4..770ee7670ac6 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_search_all_resources_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_SearchAllResources_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_async.py index 1d8dc82b9a59..fe93ab55ce55 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_UpdateFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_sync.py index e48a0b6684f1..320e04de983b 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_UpdateFeed_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_async.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_async.py index 874aa769bd68..7ad44fd08838 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_UpdateSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_sync.py b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_sync.py index 0069cc66489d..c050a417f716 100644 --- a/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1_generated_asset_service_update_saved_query_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1_generated_AssetService_UpdateSavedQuery_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 import asset_v1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_async.py b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_async.py index 2c21eaf26662..1f4595650c6d 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p1beta1_generated_AssetService_SearchAllIamPolicies_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 import asset_v1p1beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_sync.py b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_sync.py index d055c5f050f2..946a0c14d8a1 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_iam_policies_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p1beta1_generated_AssetService_SearchAllIamPolicies_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 import asset_v1p1beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_async.py b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_async.py index ccf3fd821458..6f839c0ad694 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p1beta1_generated_AssetService_SearchAllResources_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 import asset_v1p1beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_sync.py b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_sync.py index 45a0edf56773..5584a89628eb 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p1beta1_generated_asset_service_search_all_resources_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p1beta1_generated_AssetService_SearchAllResources_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 import asset_v1p1beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_async.py index d42eae09b40d..f3c3879c5d6b 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_CreateFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_sync.py index 85eed9c92129..933431eb2998 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_create_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_CreateFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_async.py index 1aeaec6cfee0..f00385fdb3a2 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_sync.py index c50ffb1b88a3..74d7912769a3 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_delete_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_async.py index 3fcef1440b2c..e55b49dc5af1 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_GetFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_sync.py index 6daf97d7e4d2..b911870911b3 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_get_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_GetFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_async.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_async.py index b3963d085c31..871b65657c32 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_ListFeeds_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_sync.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_sync.py index 50b3dad3e6bf..61620d231562 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_list_feeds_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_ListFeeds_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_async.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_async.py index 1f7490f4b2cb..f310678d08e0 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_sync.py b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_sync.py index bcd82af3655f..f87e674b5a29 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p2beta1_generated_asset_service_update_feed_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_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 import asset_v1p2beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_async.py b/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_async.py index 2757f9702c14..a9fcadafef91 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_async.py +++ b/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_async.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p5beta1_generated_AssetService_ListAssets_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 import asset_v1p5beta1 diff --git a/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_sync.py b/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_sync.py index f983764a378c..413c369c4970 100644 --- a/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_sync.py +++ b/asset/snippets/generated_samples/cloudasset_v1p5beta1_generated_asset_service_list_assets_sync.py @@ -24,6 +24,13 @@ # [START cloudasset_v1p5beta1_generated_AssetService_ListAssets_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 import asset_v1p5beta1 diff --git a/asset/snippets/generated_samples/snippet_metadata_asset_v1.json b/asset/snippets/generated_samples/snippet_metadata_asset_v1.json index 38bdf7215e2f..9454e4c415ae 100644 --- a/asset/snippets/generated_samples/snippet_metadata_asset_v1.json +++ b/asset/snippets/generated_samples/snippet_metadata_asset_v1.json @@ -55,33 +55,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async", "segments": [ { - "end": 55, + "end": 62, "start": 27, "type": "FULL" }, { - "end": 55, + "end": 62, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 45, - "start": 34, + "end": 52, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 52, - "start": 46, + "end": 59, + "start": 53, "type": "REQUEST_EXECUTION" }, { - "end": 56, - "start": 53, + "end": 63, + "start": 60, "type": "RESPONSE_HANDLING" } ], @@ -131,33 +131,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync", "segments": [ { - "end": 55, + "end": 62, "start": 27, "type": "FULL" }, { - "end": 55, + "end": 62, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 45, - "start": 34, + "end": 52, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 52, - "start": 46, + "end": 59, + "start": 53, "type": "REQUEST_EXECUTION" }, { - "end": 56, - "start": 53, + "end": 63, + "start": 60, "type": "RESPONSE_HANDLING" } ], @@ -208,33 +208,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 41, - "start": 34, + "end": 48, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 42, + "end": 51, + "start": 49, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -284,33 +284,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 41, - "start": 34, + "end": 48, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 42, + "end": 51, + "start": 49, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -361,33 +361,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeMove_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -437,33 +437,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_AnalyzeMove_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -514,33 +514,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_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" } ], @@ -590,33 +590,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_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" } ], @@ -667,33 +667,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -743,33 +743,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_BatchGetEffectiveIamPolicies_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -824,33 +824,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_CreateFeed_async", "segments": [ { - "end": 49, + "end": 56, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 56, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 43, - "start": 34, + "end": 50, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 46, - "start": 44, + "end": 53, + "start": 51, "type": "REQUEST_EXECUTION" }, { - "end": 50, - "start": 47, + "end": 57, + "start": 54, "type": "RESPONSE_HANDLING" } ], @@ -904,33 +904,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_CreateFeed_sync", "segments": [ { - "end": 49, + "end": 56, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 56, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 43, - "start": 34, + "end": 50, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 46, - "start": 44, + "end": 53, + "start": 51, "type": "REQUEST_EXECUTION" }, { - "end": 50, - "start": 47, + "end": 57, + "start": 54, "type": "RESPONSE_HANDLING" } ], @@ -993,33 +993,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_CreateSavedQuery_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -1081,33 +1081,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_CreateSavedQuery_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -1161,31 +1161,31 @@ "regionTag": "cloudasset_v1_generated_AssetService_DeleteFeed_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" } ], @@ -1238,31 +1238,31 @@ "regionTag": "cloudasset_v1_generated_AssetService_DeleteFeed_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" } ], @@ -1316,31 +1316,31 @@ "regionTag": "cloudasset_v1_generated_AssetService_DeleteSavedQuery_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" } ], @@ -1393,31 +1393,31 @@ "regionTag": "cloudasset_v1_generated_AssetService_DeleteSavedQuery_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" } ], @@ -1468,33 +1468,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ExportAssets_async", "segments": [ { - "end": 52, + "end": 59, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 59, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 43, + "end": 56, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 60, + "start": 57, "type": "RESPONSE_HANDLING" } ], @@ -1544,33 +1544,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ExportAssets_sync", "segments": [ { - "end": 52, + "end": 59, "start": 27, "type": "FULL" }, { - "end": 52, + "end": 59, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 49, - "start": 43, + "end": 56, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 53, - "start": 50, + "end": 60, + "start": 57, "type": "RESPONSE_HANDLING" } ], @@ -1625,33 +1625,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_GetFeed_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" } ], @@ -1705,33 +1705,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_GetFeed_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" } ], @@ -1786,33 +1786,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_GetSavedQuery_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" } ], @@ -1866,33 +1866,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_GetSavedQuery_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" } ], @@ -1947,33 +1947,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ListAssets_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" } ], @@ -2027,33 +2027,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ListAssets_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" } ], @@ -2108,33 +2108,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ListFeeds_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" } ], @@ -2188,33 +2188,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ListFeeds_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" } ], @@ -2269,33 +2269,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ListSavedQueries_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" } ], @@ -2349,33 +2349,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_ListSavedQueries_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" } ], @@ -2426,33 +2426,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_QueryAssets_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -2502,33 +2502,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_QueryAssets_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -2587,33 +2587,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_SearchAllIamPolicies_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" } ], @@ -2671,33 +2671,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_SearchAllIamPolicies_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" } ], @@ -2760,33 +2760,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_SearchAllResources_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" } ], @@ -2848,33 +2848,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_SearchAllResources_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" } ], @@ -2929,33 +2929,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_UpdateFeed_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 41, - "start": 34, + "end": 48, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 42, + "end": 51, + "start": 49, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -3009,33 +3009,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_UpdateFeed_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 41, - "start": 34, + "end": 48, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 42, + "end": 51, + "start": 49, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -3094,33 +3094,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_UpdateSavedQuery_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" } ], @@ -3178,33 +3178,33 @@ "regionTag": "cloudasset_v1_generated_AssetService_UpdateSavedQuery_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/asset/snippets/generated_samples/snippet_metadata_asset_v1p1beta1.json b/asset/snippets/generated_samples/snippet_metadata_asset_v1p1beta1.json index e621a91dd63b..1b348e35102f 100644 --- a/asset/snippets/generated_samples/snippet_metadata_asset_v1p1beta1.json +++ b/asset/snippets/generated_samples/snippet_metadata_asset_v1p1beta1.json @@ -63,33 +63,33 @@ "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllIamPolicies_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" } ], @@ -147,33 +147,33 @@ "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllIamPolicies_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" } ], @@ -236,33 +236,33 @@ "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllResources_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" } ], @@ -324,33 +324,33 @@ "regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllResources_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" } ], diff --git a/asset/snippets/generated_samples/snippet_metadata_asset_v1p2beta1.json b/asset/snippets/generated_samples/snippet_metadata_asset_v1p2beta1.json index f03b7f270f13..b0bc6aae24a6 100644 --- a/asset/snippets/generated_samples/snippet_metadata_asset_v1p2beta1.json +++ b/asset/snippets/generated_samples/snippet_metadata_asset_v1p2beta1.json @@ -59,33 +59,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_CreateFeed_async", "segments": [ { - "end": 49, + "end": 56, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 56, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 43, - "start": 34, + "end": 50, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 46, - "start": 44, + "end": 53, + "start": 51, "type": "REQUEST_EXECUTION" }, { - "end": 50, - "start": 47, + "end": 57, + "start": 54, "type": "RESPONSE_HANDLING" } ], @@ -139,33 +139,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_CreateFeed_sync", "segments": [ { - "end": 49, + "end": 56, "start": 27, "type": "FULL" }, { - "end": 49, + "end": 56, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 43, - "start": 34, + "end": 50, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 46, - "start": 44, + "end": 53, + "start": 51, "type": "REQUEST_EXECUTION" }, { - "end": 50, - "start": 47, + "end": 57, + "start": 54, "type": "RESPONSE_HANDLING" } ], @@ -219,31 +219,31 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_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" } ], @@ -296,31 +296,31 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_DeleteFeed_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" } ], @@ -375,33 +375,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetFeed_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" } ], @@ -455,33 +455,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_GetFeed_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" } ], @@ -536,33 +536,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_ListFeeds_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" } ], @@ -616,33 +616,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_ListFeeds_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" } ], @@ -697,33 +697,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 41, - "start": 34, + "end": 48, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 42, + "end": 51, + "start": 49, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -777,33 +777,33 @@ "regionTag": "cloudasset_v1p2beta1_generated_AssetService_UpdateFeed_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 41, - "start": 34, + "end": 48, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 42, + "end": 51, + "start": 49, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], diff --git a/asset/snippets/generated_samples/snippet_metadata_asset_v1p5beta1.json b/asset/snippets/generated_samples/snippet_metadata_asset_v1p5beta1.json index b9a50c2c0698..79f71d8d7491 100644 --- a/asset/snippets/generated_samples/snippet_metadata_asset_v1p5beta1.json +++ b/asset/snippets/generated_samples/snippet_metadata_asset_v1p5beta1.json @@ -55,33 +55,33 @@ "regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_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" } ], @@ -131,33 +131,33 @@ "regionTag": "cloudasset_v1p5beta1_generated_AssetService_ListAssets_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" } ],