diff --git a/accessapproval/apiv1/access_approval_client_example_test.go b/accessapproval/apiv1/access_approval_client_example_test.go index 6f6178a6af68..5e947329ac63 100644 --- a/accessapproval/apiv1/access_approval_client_example_test.go +++ b/accessapproval/apiv1/access_approval_client_example_test.go @@ -259,6 +259,12 @@ func ExampleClient_ListApprovalRequests() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accessapprovalpb.ListApprovalRequestsResponse) } } diff --git a/accesscontextmanager/apiv1/access_context_manager_client_example_test.go b/accesscontextmanager/apiv1/access_context_manager_client_example_test.go index 77659d837b60..69d620c8e597 100644 --- a/accesscontextmanager/apiv1/access_context_manager_client_example_test.go +++ b/accesscontextmanager/apiv1/access_context_manager_client_example_test.go @@ -475,6 +475,12 @@ func ExampleClient_ListAccessLevels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListAccessLevelsResponse) } } @@ -506,6 +512,12 @@ func ExampleClient_ListAccessPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListAccessPoliciesResponse) } } @@ -537,6 +549,12 @@ func ExampleClient_ListGcpUserAccessBindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListGcpUserAccessBindingsResponse) } } @@ -568,6 +586,12 @@ func ExampleClient_ListServicePerimeters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListServicePerimetersResponse) } } diff --git a/advisorynotifications/apiv1/advisory_notifications_client_example_test.go b/advisorynotifications/apiv1/advisory_notifications_client_example_test.go index 335620273924..afd18831f2de 100644 --- a/advisorynotifications/apiv1/advisory_notifications_client_example_test.go +++ b/advisorynotifications/apiv1/advisory_notifications_client_example_test.go @@ -136,6 +136,12 @@ func ExampleClient_ListNotifications() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*advisorynotificationspb.ListNotificationsResponse) } } diff --git a/ai/generativelanguage/apiv1/generative_client_example_test.go b/ai/generativelanguage/apiv1/generative_client_example_test.go index e3b42a5dcaf9..c758b741ca64 100644 --- a/ai/generativelanguage/apiv1/generative_client_example_test.go +++ b/ai/generativelanguage/apiv1/generative_client_example_test.go @@ -235,5 +235,11 @@ func ExampleGenerativeClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/ai/generativelanguage/apiv1/model_client_example_test.go b/ai/generativelanguage/apiv1/model_client_example_test.go index 9752645e6fc8..6d43ef35cb69 100644 --- a/ai/generativelanguage/apiv1/model_client_example_test.go +++ b/ai/generativelanguage/apiv1/model_client_example_test.go @@ -112,6 +112,12 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListModelsResponse) } } @@ -191,5 +197,11 @@ func ExampleModelClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/ai/generativelanguage/apiv1beta/model_client_example_test.go b/ai/generativelanguage/apiv1beta/model_client_example_test.go index 069deb3e58d7..e793f180fdc5 100644 --- a/ai/generativelanguage/apiv1beta/model_client_example_test.go +++ b/ai/generativelanguage/apiv1beta/model_client_example_test.go @@ -189,6 +189,12 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListModelsResponse) } } @@ -220,6 +226,12 @@ func ExampleModelClient_ListTunedModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListTunedModelsResponse) } } diff --git a/ai/generativelanguage/apiv1beta/permission_client_example_test.go b/ai/generativelanguage/apiv1beta/permission_client_example_test.go index 288312102065..dbefa56220e8 100644 --- a/ai/generativelanguage/apiv1beta/permission_client_example_test.go +++ b/ai/generativelanguage/apiv1beta/permission_client_example_test.go @@ -159,6 +159,12 @@ func ExamplePermissionClient_ListPermissions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListPermissionsResponse) } } diff --git a/ai/generativelanguage/apiv1beta/retriever_client_example_test.go b/ai/generativelanguage/apiv1beta/retriever_client_example_test.go index 11f4a249f398..8607b403aead 100644 --- a/ai/generativelanguage/apiv1beta/retriever_client_example_test.go +++ b/ai/generativelanguage/apiv1beta/retriever_client_example_test.go @@ -378,6 +378,12 @@ func ExampleRetrieverClient_ListChunks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListChunksResponse) } } @@ -409,6 +415,12 @@ func ExampleRetrieverClient_ListCorpora() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListCorporaResponse) } } @@ -440,6 +452,12 @@ func ExampleRetrieverClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListDocumentsResponse) } } diff --git a/ai/generativelanguage/apiv1beta2/model_client_example_test.go b/ai/generativelanguage/apiv1beta2/model_client_example_test.go index f22e474e443f..f34bbbe3b695 100644 --- a/ai/generativelanguage/apiv1beta2/model_client_example_test.go +++ b/ai/generativelanguage/apiv1beta2/model_client_example_test.go @@ -111,5 +111,11 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListModelsResponse) } } diff --git a/aiplatform/apiv1/dataset_client_example_test.go b/aiplatform/apiv1/dataset_client_example_test.go index 32621f6fc72f..8cf09dc2ad7b 100644 --- a/aiplatform/apiv1/dataset_client_example_test.go +++ b/aiplatform/apiv1/dataset_client_example_test.go @@ -351,6 +351,12 @@ func ExampleDatasetClient_ListAnnotations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListAnnotationsResponse) } } @@ -382,6 +388,12 @@ func ExampleDatasetClient_ListDataItems() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataItemsResponse) } } @@ -413,6 +425,12 @@ func ExampleDatasetClient_ListDatasetVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetVersionsResponse) } } @@ -444,6 +462,12 @@ func ExampleDatasetClient_ListDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetsResponse) } } @@ -475,6 +499,12 @@ func ExampleDatasetClient_ListSavedQueries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSavedQueriesResponse) } } @@ -536,6 +566,12 @@ func ExampleDatasetClient_SearchDataItems() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchDataItemsResponse) } } @@ -617,6 +653,12 @@ func ExampleDatasetClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -794,6 +836,12 @@ func ExampleDatasetClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/deployment_resource_pool_client_example_test.go b/aiplatform/apiv1/deployment_resource_pool_client_example_test.go index d12cf4f23ecd..c759a657955b 100644 --- a/aiplatform/apiv1/deployment_resource_pool_client_example_test.go +++ b/aiplatform/apiv1/deployment_resource_pool_client_example_test.go @@ -155,6 +155,12 @@ func ExampleDeploymentResourcePoolClient_ListDeploymentResourcePools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDeploymentResourcePoolsResponse) } } @@ -186,6 +192,12 @@ func ExampleDeploymentResourcePoolClient_QueryDeployedModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.QueryDeployedModelsResponse) } } @@ -242,6 +254,12 @@ func ExampleDeploymentResourcePoolClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -419,6 +437,12 @@ func ExampleDeploymentResourcePoolClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/endpoint_client_example_test.go b/aiplatform/apiv1/endpoint_client_example_test.go index 7f0577ee0115..5de79e504c7a 100644 --- a/aiplatform/apiv1/endpoint_client_example_test.go +++ b/aiplatform/apiv1/endpoint_client_example_test.go @@ -185,6 +185,12 @@ func ExampleEndpointClient_ListEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEndpointsResponse) } } @@ -326,6 +332,12 @@ func ExampleEndpointClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -503,6 +515,12 @@ func ExampleEndpointClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/feature_online_store_admin_client_example_test.go b/aiplatform/apiv1/feature_online_store_admin_client_example_test.go index 8332eaaacef5..ab1db946d0a8 100644 --- a/aiplatform/apiv1/feature_online_store_admin_client_example_test.go +++ b/aiplatform/apiv1/feature_online_store_admin_client_example_test.go @@ -263,6 +263,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListFeatureOnlineStores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureOnlineStoresResponse) } } @@ -294,6 +300,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListFeatureViewSyncs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewSyncsResponse) } } @@ -325,6 +337,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListFeatureViews() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewsResponse) } } @@ -466,6 +484,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -643,6 +667,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/feature_online_store_client_example_test.go b/aiplatform/apiv1/feature_online_store_client_example_test.go index 0f857a61d6a8..a5ec690ba1ea 100644 --- a/aiplatform/apiv1/feature_online_store_client_example_test.go +++ b/aiplatform/apiv1/feature_online_store_client_example_test.go @@ -147,6 +147,12 @@ func ExampleFeatureOnlineStoreClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -324,6 +330,12 @@ func ExampleFeatureOnlineStoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/feature_registry_client_example_test.go b/aiplatform/apiv1/feature_registry_client_example_test.go index e9f518dcc944..471198b3e45a 100644 --- a/aiplatform/apiv1/feature_registry_client_example_test.go +++ b/aiplatform/apiv1/feature_registry_client_example_test.go @@ -238,6 +238,12 @@ func ExampleFeatureRegistryClient_ListFeatureGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureGroupsResponse) } } @@ -269,6 +275,12 @@ func ExampleFeatureRegistryClient_ListFeatures() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } @@ -385,6 +397,12 @@ func ExampleFeatureRegistryClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -562,6 +580,12 @@ func ExampleFeatureRegistryClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/featurestore_client_example_test.go b/aiplatform/apiv1/featurestore_client_example_test.go index f51792c0e730..9709b60ef515 100644 --- a/aiplatform/apiv1/featurestore_client_example_test.go +++ b/aiplatform/apiv1/featurestore_client_example_test.go @@ -471,6 +471,12 @@ func ExampleFeaturestoreClient_ListEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEntityTypesResponse) } } @@ -502,6 +508,12 @@ func ExampleFeaturestoreClient_ListFeatures() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } @@ -533,6 +545,12 @@ func ExampleFeaturestoreClient_ListFeaturestores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturestoresResponse) } } @@ -564,6 +582,12 @@ func ExampleFeaturestoreClient_SearchFeatures() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchFeaturesResponse) } } @@ -700,6 +724,12 @@ func ExampleFeaturestoreClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -877,6 +907,12 @@ func ExampleFeaturestoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/featurestore_online_serving_client_example_test.go b/aiplatform/apiv1/featurestore_online_serving_client_example_test.go index 6aac9c196881..385238decbd0 100644 --- a/aiplatform/apiv1/featurestore_online_serving_client_example_test.go +++ b/aiplatform/apiv1/featurestore_online_serving_client_example_test.go @@ -147,6 +147,12 @@ func ExampleFeaturestoreOnlineServingClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -324,6 +330,12 @@ func ExampleFeaturestoreOnlineServingClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/index_client_example_test.go b/aiplatform/apiv1/index_client_example_test.go index b8fea0ccf996..f2970d609b0e 100644 --- a/aiplatform/apiv1/index_client_example_test.go +++ b/aiplatform/apiv1/index_client_example_test.go @@ -155,6 +155,12 @@ func ExampleIndexClient_ListIndexes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexesResponse) } } @@ -291,6 +297,12 @@ func ExampleIndexClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -468,6 +480,12 @@ func ExampleIndexClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/index_endpoint_client_example_test.go b/aiplatform/apiv1/index_endpoint_client_example_test.go index 3df9c66a54c3..b6e1533bde32 100644 --- a/aiplatform/apiv1/index_endpoint_client_example_test.go +++ b/aiplatform/apiv1/index_endpoint_client_example_test.go @@ -185,6 +185,12 @@ func ExampleIndexEndpointClient_ListIndexEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexEndpointsResponse) } } @@ -326,6 +332,12 @@ func ExampleIndexEndpointClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -503,6 +515,12 @@ func ExampleIndexEndpointClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/job_client_example_test.go b/aiplatform/apiv1/job_client_example_test.go index 872587380979..578b221766f8 100644 --- a/aiplatform/apiv1/job_client_example_test.go +++ b/aiplatform/apiv1/job_client_example_test.go @@ -680,6 +680,12 @@ func ExampleJobClient_ListBatchPredictionJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListBatchPredictionJobsResponse) } } @@ -711,6 +717,12 @@ func ExampleJobClient_ListCustomJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListCustomJobsResponse) } } @@ -742,6 +754,12 @@ func ExampleJobClient_ListDataLabelingJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataLabelingJobsResponse) } } @@ -773,6 +791,12 @@ func ExampleJobClient_ListHyperparameterTuningJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListHyperparameterTuningJobsResponse) } } @@ -804,6 +828,12 @@ func ExampleJobClient_ListModelDeploymentMonitoringJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelDeploymentMonitoringJobsResponse) } } @@ -835,6 +865,12 @@ func ExampleJobClient_ListNasJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasJobsResponse) } } @@ -866,6 +902,12 @@ func ExampleJobClient_ListNasTrialDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasTrialDetailsResponse) } } @@ -943,6 +985,12 @@ func ExampleJobClient_SearchModelDeploymentMonitoringStatsAnomalies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesResponse) } } @@ -1029,6 +1077,12 @@ func ExampleJobClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1206,6 +1260,12 @@ func ExampleJobClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/llm_utility_client_example_test.go b/aiplatform/apiv1/llm_utility_client_example_test.go index a46c9e3061a7..e7ca3de9583d 100644 --- a/aiplatform/apiv1/llm_utility_client_example_test.go +++ b/aiplatform/apiv1/llm_utility_client_example_test.go @@ -147,6 +147,12 @@ func ExampleLlmUtilityClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -324,6 +330,12 @@ func ExampleLlmUtilityClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/match_client_example_test.go b/aiplatform/apiv1/match_client_example_test.go index 840cbc4413eb..a94d1252c98e 100644 --- a/aiplatform/apiv1/match_client_example_test.go +++ b/aiplatform/apiv1/match_client_example_test.go @@ -147,6 +147,12 @@ func ExampleMatchClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -324,6 +330,12 @@ func ExampleMatchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/metadata_client_example_test.go b/aiplatform/apiv1/metadata_client_example_test.go index 96a5979854e9..5407b3ef4894 100644 --- a/aiplatform/apiv1/metadata_client_example_test.go +++ b/aiplatform/apiv1/metadata_client_example_test.go @@ -514,6 +514,12 @@ func ExampleMetadataClient_ListArtifacts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListArtifactsResponse) } } @@ -545,6 +551,12 @@ func ExampleMetadataClient_ListContexts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListContextsResponse) } } @@ -576,6 +588,12 @@ func ExampleMetadataClient_ListExecutions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListExecutionsResponse) } } @@ -607,6 +625,12 @@ func ExampleMetadataClient_ListMetadataSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataSchemasResponse) } } @@ -638,6 +662,12 @@ func ExampleMetadataClient_ListMetadataStores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataStoresResponse) } } @@ -959,6 +989,12 @@ func ExampleMetadataClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1136,6 +1172,12 @@ func ExampleMetadataClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/migration_client_example_test.go b/aiplatform/apiv1/migration_client_example_test.go index e31a8f95d40e..a49e9982faeb 100644 --- a/aiplatform/apiv1/migration_client_example_test.go +++ b/aiplatform/apiv1/migration_client_example_test.go @@ -102,6 +102,12 @@ func ExampleMigrationClient_SearchMigratableResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchMigratableResourcesResponse) } } @@ -158,6 +164,12 @@ func ExampleMigrationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -335,6 +347,12 @@ func ExampleMigrationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/model_client_example_test.go b/aiplatform/apiv1/model_client_example_test.go index 28126a7e198f..887372b4cb49 100644 --- a/aiplatform/apiv1/model_client_example_test.go +++ b/aiplatform/apiv1/model_client_example_test.go @@ -338,6 +338,12 @@ func ExampleModelClient_ListModelEvaluationSlices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationSlicesResponse) } } @@ -369,6 +375,12 @@ func ExampleModelClient_ListModelEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationsResponse) } } @@ -400,6 +412,12 @@ func ExampleModelClient_ListModelVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelVersionsResponse) } } @@ -431,6 +449,12 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelsResponse) } } @@ -597,6 +621,12 @@ func ExampleModelClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -774,6 +804,12 @@ func ExampleModelClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/model_garden_client_example_test.go b/aiplatform/apiv1/model_garden_client_example_test.go index f37b15aa1337..bd034ae5f073 100644 --- a/aiplatform/apiv1/model_garden_client_example_test.go +++ b/aiplatform/apiv1/model_garden_client_example_test.go @@ -122,6 +122,12 @@ func ExampleModelGardenClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -299,6 +305,12 @@ func ExampleModelGardenClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/pipeline_client_example_test.go b/aiplatform/apiv1/pipeline_client_example_test.go index 04012565223b..9468af8b60a4 100644 --- a/aiplatform/apiv1/pipeline_client_example_test.go +++ b/aiplatform/apiv1/pipeline_client_example_test.go @@ -334,6 +334,12 @@ func ExamplePipelineClient_ListPipelineJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPipelineJobsResponse) } } @@ -365,6 +371,12 @@ func ExamplePipelineClient_ListTrainingPipelines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrainingPipelinesResponse) } } @@ -421,6 +433,12 @@ func ExamplePipelineClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -598,6 +616,12 @@ func ExamplePipelineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/prediction_client_example_test.go b/aiplatform/apiv1/prediction_client_example_test.go index 21ee3cca1932..9fd35d474abf 100644 --- a/aiplatform/apiv1/prediction_client_example_test.go +++ b/aiplatform/apiv1/prediction_client_example_test.go @@ -408,6 +408,12 @@ func ExamplePredictionClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -585,6 +591,12 @@ func ExamplePredictionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/schedule_client_example_test.go b/aiplatform/apiv1/schedule_client_example_test.go index 125133e34d56..7197bdcf7c47 100644 --- a/aiplatform/apiv1/schedule_client_example_test.go +++ b/aiplatform/apiv1/schedule_client_example_test.go @@ -150,6 +150,12 @@ func ExampleScheduleClient_ListSchedules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSchedulesResponse) } } @@ -277,6 +283,12 @@ func ExampleScheduleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -454,6 +466,12 @@ func ExampleScheduleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/specialist_pool_client_example_test.go b/aiplatform/apiv1/specialist_pool_client_example_test.go index 2674965bcffa..3e5cba6345c5 100644 --- a/aiplatform/apiv1/specialist_pool_client_example_test.go +++ b/aiplatform/apiv1/specialist_pool_client_example_test.go @@ -155,6 +155,12 @@ func ExampleSpecialistPoolClient_ListSpecialistPools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSpecialistPoolsResponse) } } @@ -241,6 +247,12 @@ func ExampleSpecialistPoolClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -418,6 +430,12 @@ func ExampleSpecialistPoolClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/tensorboard_client_example_test.go b/aiplatform/apiv1/tensorboard_client_example_test.go index d12930f55f79..73b467cce3d9 100644 --- a/aiplatform/apiv1/tensorboard_client_example_test.go +++ b/aiplatform/apiv1/tensorboard_client_example_test.go @@ -364,6 +364,12 @@ func ExampleTensorboardClient_ExportTensorboardTimeSeriesData() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ExportTensorboardTimeSeriesDataResponse) } } @@ -495,6 +501,12 @@ func ExampleTensorboardClient_ListTensorboardExperiments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardExperimentsResponse) } } @@ -526,6 +538,12 @@ func ExampleTensorboardClient_ListTensorboardRuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardRunsResponse) } } @@ -557,6 +575,12 @@ func ExampleTensorboardClient_ListTensorboardTimeSeries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardTimeSeriesResponse) } } @@ -588,6 +612,12 @@ func ExampleTensorboardClient_ListTensorboards() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardsResponse) } } @@ -874,6 +904,12 @@ func ExampleTensorboardClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1051,6 +1087,12 @@ func ExampleTensorboardClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1/vizier_client_example_test.go b/aiplatform/apiv1/vizier_client_example_test.go index 1d038a80d73a..dfb2b0575d7a 100644 --- a/aiplatform/apiv1/vizier_client_example_test.go +++ b/aiplatform/apiv1/vizier_client_example_test.go @@ -323,6 +323,12 @@ func ExampleVizierClient_ListStudies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListStudiesResponse) } } @@ -354,6 +360,12 @@ func ExampleVizierClient_ListTrials() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrialsResponse) } } @@ -490,6 +502,12 @@ func ExampleVizierClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -667,6 +685,12 @@ func ExampleVizierClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/dataset_client_example_test.go b/aiplatform/apiv1beta1/dataset_client_example_test.go index c4abed43841f..8640044cad91 100644 --- a/aiplatform/apiv1beta1/dataset_client_example_test.go +++ b/aiplatform/apiv1beta1/dataset_client_example_test.go @@ -368,6 +368,12 @@ func ExampleDatasetClient_ListAnnotations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListAnnotationsResponse) } } @@ -399,6 +405,12 @@ func ExampleDatasetClient_ListDataItems() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataItemsResponse) } } @@ -430,6 +442,12 @@ func ExampleDatasetClient_ListDatasetVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetVersionsResponse) } } @@ -461,6 +479,12 @@ func ExampleDatasetClient_ListDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetsResponse) } } @@ -492,6 +516,12 @@ func ExampleDatasetClient_ListSavedQueries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSavedQueriesResponse) } } @@ -553,6 +583,12 @@ func ExampleDatasetClient_SearchDataItems() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchDataItemsResponse) } } @@ -634,6 +670,12 @@ func ExampleDatasetClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -811,6 +853,12 @@ func ExampleDatasetClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/deployment_resource_pool_client_example_test.go b/aiplatform/apiv1beta1/deployment_resource_pool_client_example_test.go index f12e50eb4d9f..a5f748cbf487 100644 --- a/aiplatform/apiv1beta1/deployment_resource_pool_client_example_test.go +++ b/aiplatform/apiv1beta1/deployment_resource_pool_client_example_test.go @@ -172,6 +172,12 @@ func ExampleDeploymentResourcePoolClient_ListDeploymentResourcePools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDeploymentResourcePoolsResponse) } } @@ -203,6 +209,12 @@ func ExampleDeploymentResourcePoolClient_QueryDeployedModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.QueryDeployedModelsResponse) } } @@ -259,6 +271,12 @@ func ExampleDeploymentResourcePoolClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -436,6 +454,12 @@ func ExampleDeploymentResourcePoolClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/endpoint_client_example_test.go b/aiplatform/apiv1beta1/endpoint_client_example_test.go index 559e513880ac..305f1dd3e4da 100644 --- a/aiplatform/apiv1beta1/endpoint_client_example_test.go +++ b/aiplatform/apiv1beta1/endpoint_client_example_test.go @@ -202,6 +202,12 @@ func ExampleEndpointClient_ListEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEndpointsResponse) } } @@ -343,6 +349,12 @@ func ExampleEndpointClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -520,6 +532,12 @@ func ExampleEndpointClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/evaluation_client_example_test.go b/aiplatform/apiv1beta1/evaluation_client_example_test.go index 1c7e56ad69fd..db3ca876853a 100644 --- a/aiplatform/apiv1beta1/evaluation_client_example_test.go +++ b/aiplatform/apiv1beta1/evaluation_client_example_test.go @@ -139,6 +139,12 @@ func ExampleEvaluationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -316,6 +322,12 @@ func ExampleEvaluationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/extension_execution_client_example_test.go b/aiplatform/apiv1beta1/extension_execution_client_example_test.go index c63a67322524..880ccf8e8912 100644 --- a/aiplatform/apiv1beta1/extension_execution_client_example_test.go +++ b/aiplatform/apiv1beta1/extension_execution_client_example_test.go @@ -164,6 +164,12 @@ func ExampleExtensionExecutionClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -341,6 +347,12 @@ func ExampleExtensionExecutionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/extension_registry_client_example_test.go b/aiplatform/apiv1beta1/extension_registry_client_example_test.go index db983b1a9ac9..0e568e6accbb 100644 --- a/aiplatform/apiv1beta1/extension_registry_client_example_test.go +++ b/aiplatform/apiv1beta1/extension_registry_client_example_test.go @@ -172,6 +172,12 @@ func ExampleExtensionRegistryClient_ListExtensions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListExtensionsResponse) } } @@ -253,6 +259,12 @@ func ExampleExtensionRegistryClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -430,6 +442,12 @@ func ExampleExtensionRegistryClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/feature_online_store_admin_client_example_test.go b/aiplatform/apiv1beta1/feature_online_store_admin_client_example_test.go index fcac9e380227..88610738b154 100644 --- a/aiplatform/apiv1beta1/feature_online_store_admin_client_example_test.go +++ b/aiplatform/apiv1beta1/feature_online_store_admin_client_example_test.go @@ -280,6 +280,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListFeatureOnlineStores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureOnlineStoresResponse) } } @@ -311,6 +317,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListFeatureViewSyncs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewSyncsResponse) } } @@ -342,6 +354,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListFeatureViews() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewsResponse) } } @@ -483,6 +501,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -660,6 +684,12 @@ func ExampleFeatureOnlineStoreAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/feature_online_store_client_example_test.go b/aiplatform/apiv1beta1/feature_online_store_client_example_test.go index afae0fdf0a93..246f617e84fe 100644 --- a/aiplatform/apiv1beta1/feature_online_store_client_example_test.go +++ b/aiplatform/apiv1beta1/feature_online_store_client_example_test.go @@ -205,6 +205,12 @@ func ExampleFeatureOnlineStoreClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -382,6 +388,12 @@ func ExampleFeatureOnlineStoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/feature_registry_client_example_test.go b/aiplatform/apiv1beta1/feature_registry_client_example_test.go index 0a1857b646bb..ddf2ac1bb9be 100644 --- a/aiplatform/apiv1beta1/feature_registry_client_example_test.go +++ b/aiplatform/apiv1beta1/feature_registry_client_example_test.go @@ -255,6 +255,12 @@ func ExampleFeatureRegistryClient_ListFeatureGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureGroupsResponse) } } @@ -286,6 +292,12 @@ func ExampleFeatureRegistryClient_ListFeatures() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } @@ -402,6 +414,12 @@ func ExampleFeatureRegistryClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -579,6 +597,12 @@ func ExampleFeatureRegistryClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/featurestore_client_example_test.go b/aiplatform/apiv1beta1/featurestore_client_example_test.go index 4b6037b075db..9f19799b91ac 100644 --- a/aiplatform/apiv1beta1/featurestore_client_example_test.go +++ b/aiplatform/apiv1beta1/featurestore_client_example_test.go @@ -488,6 +488,12 @@ func ExampleFeaturestoreClient_ListEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEntityTypesResponse) } } @@ -519,6 +525,12 @@ func ExampleFeaturestoreClient_ListFeatures() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } @@ -550,6 +562,12 @@ func ExampleFeaturestoreClient_ListFeaturestores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturestoresResponse) } } @@ -581,6 +599,12 @@ func ExampleFeaturestoreClient_SearchFeatures() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchFeaturesResponse) } } @@ -717,6 +741,12 @@ func ExampleFeaturestoreClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -894,6 +924,12 @@ func ExampleFeaturestoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/featurestore_online_serving_client_example_test.go b/aiplatform/apiv1beta1/featurestore_online_serving_client_example_test.go index 0a7771027559..68ac9d7907fe 100644 --- a/aiplatform/apiv1beta1/featurestore_online_serving_client_example_test.go +++ b/aiplatform/apiv1beta1/featurestore_online_serving_client_example_test.go @@ -164,6 +164,12 @@ func ExampleFeaturestoreOnlineServingClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -341,6 +347,12 @@ func ExampleFeaturestoreOnlineServingClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/index_client_example_test.go b/aiplatform/apiv1beta1/index_client_example_test.go index 5908f76d431e..841a690f8982 100644 --- a/aiplatform/apiv1beta1/index_client_example_test.go +++ b/aiplatform/apiv1beta1/index_client_example_test.go @@ -172,6 +172,12 @@ func ExampleIndexClient_ListIndexes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexesResponse) } } @@ -308,6 +314,12 @@ func ExampleIndexClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -485,6 +497,12 @@ func ExampleIndexClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/index_endpoint_client_example_test.go b/aiplatform/apiv1beta1/index_endpoint_client_example_test.go index 61912d341709..01964cc52ada 100644 --- a/aiplatform/apiv1beta1/index_endpoint_client_example_test.go +++ b/aiplatform/apiv1beta1/index_endpoint_client_example_test.go @@ -202,6 +202,12 @@ func ExampleIndexEndpointClient_ListIndexEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexEndpointsResponse) } } @@ -343,6 +349,12 @@ func ExampleIndexEndpointClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -520,6 +532,12 @@ func ExampleIndexEndpointClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/job_client_example_test.go b/aiplatform/apiv1beta1/job_client_example_test.go index 51daf591ad1b..1943b0cc12f0 100644 --- a/aiplatform/apiv1beta1/job_client_example_test.go +++ b/aiplatform/apiv1beta1/job_client_example_test.go @@ -697,6 +697,12 @@ func ExampleJobClient_ListBatchPredictionJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListBatchPredictionJobsResponse) } } @@ -728,6 +734,12 @@ func ExampleJobClient_ListCustomJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListCustomJobsResponse) } } @@ -759,6 +771,12 @@ func ExampleJobClient_ListDataLabelingJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataLabelingJobsResponse) } } @@ -790,6 +808,12 @@ func ExampleJobClient_ListHyperparameterTuningJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListHyperparameterTuningJobsResponse) } } @@ -821,6 +845,12 @@ func ExampleJobClient_ListModelDeploymentMonitoringJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelDeploymentMonitoringJobsResponse) } } @@ -852,6 +882,12 @@ func ExampleJobClient_ListNasJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasJobsResponse) } } @@ -883,6 +919,12 @@ func ExampleJobClient_ListNasTrialDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasTrialDetailsResponse) } } @@ -960,6 +1002,12 @@ func ExampleJobClient_SearchModelDeploymentMonitoringStatsAnomalies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesResponse) } } @@ -1046,6 +1094,12 @@ func ExampleJobClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1223,6 +1277,12 @@ func ExampleJobClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/llm_utility_client_example_test.go b/aiplatform/apiv1beta1/llm_utility_client_example_test.go index 49022c47572d..257291f0e790 100644 --- a/aiplatform/apiv1beta1/llm_utility_client_example_test.go +++ b/aiplatform/apiv1beta1/llm_utility_client_example_test.go @@ -139,6 +139,12 @@ func ExampleLlmUtilityClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -316,6 +322,12 @@ func ExampleLlmUtilityClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/match_client_example_test.go b/aiplatform/apiv1beta1/match_client_example_test.go index 7f5d90c82ad6..2ec09c425bbe 100644 --- a/aiplatform/apiv1beta1/match_client_example_test.go +++ b/aiplatform/apiv1beta1/match_client_example_test.go @@ -164,6 +164,12 @@ func ExampleMatchClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -341,6 +347,12 @@ func ExampleMatchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/metadata_client_example_test.go b/aiplatform/apiv1beta1/metadata_client_example_test.go index 3af91380c5a5..36f44649edec 100644 --- a/aiplatform/apiv1beta1/metadata_client_example_test.go +++ b/aiplatform/apiv1beta1/metadata_client_example_test.go @@ -531,6 +531,12 @@ func ExampleMetadataClient_ListArtifacts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListArtifactsResponse) } } @@ -562,6 +568,12 @@ func ExampleMetadataClient_ListContexts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListContextsResponse) } } @@ -593,6 +605,12 @@ func ExampleMetadataClient_ListExecutions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListExecutionsResponse) } } @@ -624,6 +642,12 @@ func ExampleMetadataClient_ListMetadataSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataSchemasResponse) } } @@ -655,6 +679,12 @@ func ExampleMetadataClient_ListMetadataStores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataStoresResponse) } } @@ -976,6 +1006,12 @@ func ExampleMetadataClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1153,6 +1189,12 @@ func ExampleMetadataClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/migration_client_example_test.go b/aiplatform/apiv1beta1/migration_client_example_test.go index 03cfa225ba0e..f62cac9fcdfb 100644 --- a/aiplatform/apiv1beta1/migration_client_example_test.go +++ b/aiplatform/apiv1beta1/migration_client_example_test.go @@ -119,6 +119,12 @@ func ExampleMigrationClient_SearchMigratableResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchMigratableResourcesResponse) } } @@ -175,6 +181,12 @@ func ExampleMigrationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -352,6 +364,12 @@ func ExampleMigrationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/model_client_example_test.go b/aiplatform/apiv1beta1/model_client_example_test.go index 561cc06c812a..c6acb545b014 100644 --- a/aiplatform/apiv1beta1/model_client_example_test.go +++ b/aiplatform/apiv1beta1/model_client_example_test.go @@ -355,6 +355,12 @@ func ExampleModelClient_ListModelEvaluationSlices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationSlicesResponse) } } @@ -386,6 +392,12 @@ func ExampleModelClient_ListModelEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationsResponse) } } @@ -417,6 +429,12 @@ func ExampleModelClient_ListModelVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelVersionsResponse) } } @@ -448,6 +466,12 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelsResponse) } } @@ -614,6 +638,12 @@ func ExampleModelClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -791,6 +821,12 @@ func ExampleModelClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/model_garden_client_example_test.go b/aiplatform/apiv1beta1/model_garden_client_example_test.go index af1cd803cabf..1794d2d47972 100644 --- a/aiplatform/apiv1beta1/model_garden_client_example_test.go +++ b/aiplatform/apiv1beta1/model_garden_client_example_test.go @@ -114,6 +114,12 @@ func ExampleModelGardenClient_ListPublisherModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPublisherModelsResponse) } } @@ -170,6 +176,12 @@ func ExampleModelGardenClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -347,6 +359,12 @@ func ExampleModelGardenClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/persistent_resource_client_example_test.go b/aiplatform/apiv1beta1/persistent_resource_client_example_test.go index 12787a860673..3c4b7d0e3fdf 100644 --- a/aiplatform/apiv1beta1/persistent_resource_client_example_test.go +++ b/aiplatform/apiv1beta1/persistent_resource_client_example_test.go @@ -172,6 +172,12 @@ func ExamplePersistentResourceClient_ListPersistentResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPersistentResourcesResponse) } } @@ -258,6 +264,12 @@ func ExamplePersistentResourceClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -435,6 +447,12 @@ func ExamplePersistentResourceClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/pipeline_client_example_test.go b/aiplatform/apiv1beta1/pipeline_client_example_test.go index 54eb1f29513e..18b2dfcb67fe 100644 --- a/aiplatform/apiv1beta1/pipeline_client_example_test.go +++ b/aiplatform/apiv1beta1/pipeline_client_example_test.go @@ -351,6 +351,12 @@ func ExamplePipelineClient_ListPipelineJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPipelineJobsResponse) } } @@ -382,6 +388,12 @@ func ExamplePipelineClient_ListTrainingPipelines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrainingPipelinesResponse) } } @@ -438,6 +450,12 @@ func ExamplePipelineClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -615,6 +633,12 @@ func ExamplePipelineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/prediction_client_example_test.go b/aiplatform/apiv1beta1/prediction_client_example_test.go index 6fe767277eae..c368087def04 100644 --- a/aiplatform/apiv1beta1/prediction_client_example_test.go +++ b/aiplatform/apiv1beta1/prediction_client_example_test.go @@ -450,6 +450,12 @@ func ExamplePredictionClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -627,6 +633,12 @@ func ExamplePredictionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/reasoning_engine_client_example_test.go b/aiplatform/apiv1beta1/reasoning_engine_client_example_test.go index 90c74c1f6a3e..be6aa58c9646 100644 --- a/aiplatform/apiv1beta1/reasoning_engine_client_example_test.go +++ b/aiplatform/apiv1beta1/reasoning_engine_client_example_test.go @@ -172,6 +172,12 @@ func ExampleReasoningEngineClient_ListReasoningEngines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListReasoningEnginesResponse) } } @@ -228,6 +234,12 @@ func ExampleReasoningEngineClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -405,6 +417,12 @@ func ExampleReasoningEngineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/reasoning_engine_execution_client_example_test.go b/aiplatform/apiv1beta1/reasoning_engine_execution_client_example_test.go index d1f3267b1518..0270fff07d53 100644 --- a/aiplatform/apiv1beta1/reasoning_engine_execution_client_example_test.go +++ b/aiplatform/apiv1beta1/reasoning_engine_execution_client_example_test.go @@ -139,6 +139,12 @@ func ExampleReasoningEngineExecutionClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -316,6 +322,12 @@ func ExampleReasoningEngineExecutionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/schedule_client_example_test.go b/aiplatform/apiv1beta1/schedule_client_example_test.go index 31889d999164..aeefbcd2e255 100644 --- a/aiplatform/apiv1beta1/schedule_client_example_test.go +++ b/aiplatform/apiv1beta1/schedule_client_example_test.go @@ -167,6 +167,12 @@ func ExampleScheduleClient_ListSchedules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSchedulesResponse) } } @@ -294,6 +300,12 @@ func ExampleScheduleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -471,6 +483,12 @@ func ExampleScheduleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/specialist_pool_client_example_test.go b/aiplatform/apiv1beta1/specialist_pool_client_example_test.go index fe88c1ee6254..7bedcd73bc23 100644 --- a/aiplatform/apiv1beta1/specialist_pool_client_example_test.go +++ b/aiplatform/apiv1beta1/specialist_pool_client_example_test.go @@ -172,6 +172,12 @@ func ExampleSpecialistPoolClient_ListSpecialistPools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSpecialistPoolsResponse) } } @@ -258,6 +264,12 @@ func ExampleSpecialistPoolClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -435,6 +447,12 @@ func ExampleSpecialistPoolClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/tensorboard_client_example_test.go b/aiplatform/apiv1beta1/tensorboard_client_example_test.go index fb411f55bd38..e01db400ac47 100644 --- a/aiplatform/apiv1beta1/tensorboard_client_example_test.go +++ b/aiplatform/apiv1beta1/tensorboard_client_example_test.go @@ -381,6 +381,12 @@ func ExampleTensorboardClient_ExportTensorboardTimeSeriesData() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ExportTensorboardTimeSeriesDataResponse) } } @@ -512,6 +518,12 @@ func ExampleTensorboardClient_ListTensorboardExperiments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardExperimentsResponse) } } @@ -543,6 +555,12 @@ func ExampleTensorboardClient_ListTensorboardRuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardRunsResponse) } } @@ -574,6 +592,12 @@ func ExampleTensorboardClient_ListTensorboardTimeSeries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardTimeSeriesResponse) } } @@ -605,6 +629,12 @@ func ExampleTensorboardClient_ListTensorboards() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardsResponse) } } @@ -891,6 +921,12 @@ func ExampleTensorboardClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1068,6 +1104,12 @@ func ExampleTensorboardClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/aiplatform/apiv1beta1/vizier_client_example_test.go b/aiplatform/apiv1beta1/vizier_client_example_test.go index 860fccbaf939..4d6b8f9b033a 100644 --- a/aiplatform/apiv1beta1/vizier_client_example_test.go +++ b/aiplatform/apiv1beta1/vizier_client_example_test.go @@ -340,6 +340,12 @@ func ExampleVizierClient_ListStudies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListStudiesResponse) } } @@ -371,6 +377,12 @@ func ExampleVizierClient_ListTrials() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrialsResponse) } } @@ -507,6 +519,12 @@ func ExampleVizierClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -684,6 +702,12 @@ func ExampleVizierClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/alloydb/apiv1/alloydb_admin_client_example_test.go b/alloydb/apiv1/alloydb_admin_client_example_test.go index 9e808ebb58eb..201ad4857bb3 100644 --- a/alloydb/apiv1/alloydb_admin_client_example_test.go +++ b/alloydb/apiv1/alloydb_admin_client_example_test.go @@ -610,6 +610,12 @@ func ExampleAlloyDBAdminClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListBackupsResponse) } } @@ -641,6 +647,12 @@ func ExampleAlloyDBAdminClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListClustersResponse) } } @@ -672,6 +684,12 @@ func ExampleAlloyDBAdminClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListInstancesResponse) } } @@ -703,6 +721,12 @@ func ExampleAlloyDBAdminClient_ListSupportedDatabaseFlags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListSupportedDatabaseFlagsResponse) } } @@ -734,6 +758,12 @@ func ExampleAlloyDBAdminClient_ListUsers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListUsersResponse) } } @@ -995,6 +1025,12 @@ func ExampleAlloyDBAdminClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1097,5 +1133,11 @@ func ExampleAlloyDBAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/alloydb/apiv1alpha/alloydb_admin_client_example_test.go b/alloydb/apiv1alpha/alloydb_admin_client_example_test.go index 84fdb5364b2c..b919c55f2156 100644 --- a/alloydb/apiv1alpha/alloydb_admin_client_example_test.go +++ b/alloydb/apiv1alpha/alloydb_admin_client_example_test.go @@ -610,6 +610,12 @@ func ExampleAlloyDBAdminClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListBackupsResponse) } } @@ -641,6 +647,12 @@ func ExampleAlloyDBAdminClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListClustersResponse) } } @@ -672,6 +684,12 @@ func ExampleAlloyDBAdminClient_ListDatabases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListDatabasesResponse) } } @@ -703,6 +721,12 @@ func ExampleAlloyDBAdminClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListInstancesResponse) } } @@ -734,6 +758,12 @@ func ExampleAlloyDBAdminClient_ListSupportedDatabaseFlags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListSupportedDatabaseFlagsResponse) } } @@ -765,6 +795,12 @@ func ExampleAlloyDBAdminClient_ListUsers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListUsersResponse) } } @@ -1026,6 +1062,12 @@ func ExampleAlloyDBAdminClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1128,5 +1170,11 @@ func ExampleAlloyDBAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/alloydb/apiv1beta/alloydb_admin_client_example_test.go b/alloydb/apiv1beta/alloydb_admin_client_example_test.go index 97fa3359206a..7e46841d7268 100644 --- a/alloydb/apiv1beta/alloydb_admin_client_example_test.go +++ b/alloydb/apiv1beta/alloydb_admin_client_example_test.go @@ -610,6 +610,12 @@ func ExampleAlloyDBAdminClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListBackupsResponse) } } @@ -641,6 +647,12 @@ func ExampleAlloyDBAdminClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListClustersResponse) } } @@ -672,6 +684,12 @@ func ExampleAlloyDBAdminClient_ListDatabases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListDatabasesResponse) } } @@ -703,6 +721,12 @@ func ExampleAlloyDBAdminClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListInstancesResponse) } } @@ -734,6 +758,12 @@ func ExampleAlloyDBAdminClient_ListSupportedDatabaseFlags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListSupportedDatabaseFlagsResponse) } } @@ -765,6 +795,12 @@ func ExampleAlloyDBAdminClient_ListUsers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListUsersResponse) } } @@ -1026,6 +1062,12 @@ func ExampleAlloyDBAdminClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1128,5 +1170,11 @@ func ExampleAlloyDBAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/analytics/admin/apiv1alpha/analytics_admin_client_example_test.go b/analytics/admin/apiv1alpha/analytics_admin_client_example_test.go index b43ce4887710..7801b49fe1ba 100644 --- a/analytics/admin/apiv1alpha/analytics_admin_client_example_test.go +++ b/analytics/admin/apiv1alpha/analytics_admin_client_example_test.go @@ -2140,6 +2140,12 @@ func ExampleAnalyticsAdminClient_ListAccessBindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAccessBindingsResponse) } } @@ -2171,6 +2177,12 @@ func ExampleAnalyticsAdminClient_ListAccountSummaries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAccountSummariesResponse) } } @@ -2202,6 +2214,12 @@ func ExampleAnalyticsAdminClient_ListAccounts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAccountsResponse) } } @@ -2233,6 +2251,12 @@ func ExampleAnalyticsAdminClient_ListAdSenseLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAdSenseLinksResponse) } } @@ -2264,6 +2288,12 @@ func ExampleAnalyticsAdminClient_ListAudiences() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAudiencesResponse) } } @@ -2295,6 +2325,12 @@ func ExampleAnalyticsAdminClient_ListBigQueryLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListBigQueryLinksResponse) } } @@ -2326,6 +2362,12 @@ func ExampleAnalyticsAdminClient_ListCalculatedMetrics() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListCalculatedMetricsResponse) } } @@ -2357,6 +2399,12 @@ func ExampleAnalyticsAdminClient_ListChannelGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListChannelGroupsResponse) } } @@ -2413,6 +2461,12 @@ func ExampleAnalyticsAdminClient_ListConversionEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListConversionEventsResponse) } } @@ -2444,6 +2498,12 @@ func ExampleAnalyticsAdminClient_ListCustomDimensions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListCustomDimensionsResponse) } } @@ -2475,6 +2535,12 @@ func ExampleAnalyticsAdminClient_ListCustomMetrics() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListCustomMetricsResponse) } } @@ -2506,6 +2572,12 @@ func ExampleAnalyticsAdminClient_ListDataStreams() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListDataStreamsResponse) } } @@ -2537,6 +2609,12 @@ func ExampleAnalyticsAdminClient_ListDisplayVideo360AdvertiserLinkProposals() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListDisplayVideo360AdvertiserLinkProposalsResponse) } } @@ -2568,6 +2646,12 @@ func ExampleAnalyticsAdminClient_ListDisplayVideo360AdvertiserLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListDisplayVideo360AdvertiserLinksResponse) } } @@ -2599,6 +2683,12 @@ func ExampleAnalyticsAdminClient_ListEventCreateRules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListEventCreateRulesResponse) } } @@ -2630,6 +2720,12 @@ func ExampleAnalyticsAdminClient_ListExpandedDataSets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListExpandedDataSetsResponse) } } @@ -2661,6 +2757,12 @@ func ExampleAnalyticsAdminClient_ListFirebaseLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListFirebaseLinksResponse) } } @@ -2692,6 +2794,12 @@ func ExampleAnalyticsAdminClient_ListGoogleAdsLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListGoogleAdsLinksResponse) } } @@ -2723,6 +2831,12 @@ func ExampleAnalyticsAdminClient_ListMeasurementProtocolSecrets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListMeasurementProtocolSecretsResponse) } } @@ -2754,6 +2868,12 @@ func ExampleAnalyticsAdminClient_ListProperties() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListPropertiesResponse) } } @@ -2785,6 +2905,12 @@ func ExampleAnalyticsAdminClient_ListRollupPropertySourceLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListRollupPropertySourceLinksResponse) } } @@ -2816,6 +2942,12 @@ func ExampleAnalyticsAdminClient_ListSKAdNetworkConversionValueSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListSKAdNetworkConversionValueSchemasResponse) } } @@ -2847,6 +2979,12 @@ func ExampleAnalyticsAdminClient_ListSearchAds360Links() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListSearchAds360LinksResponse) } } @@ -2878,6 +3016,12 @@ func ExampleAnalyticsAdminClient_ListSubpropertyEventFilters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListSubpropertyEventFiltersResponse) } } @@ -2959,6 +3103,12 @@ func ExampleAnalyticsAdminClient_SearchChangeHistoryEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.SearchChangeHistoryEventsResponse) } } diff --git a/apigateway/apiv1/api_gateway_client_example_test.go b/apigateway/apiv1/api_gateway_client_example_test.go index 2d31ce100cfb..451c14a49ee3 100644 --- a/apigateway/apiv1/api_gateway_client_example_test.go +++ b/apigateway/apiv1/api_gateway_client_example_test.go @@ -335,6 +335,12 @@ func ExampleClient_ListApiConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigatewaypb.ListApiConfigsResponse) } } @@ -366,6 +372,12 @@ func ExampleClient_ListApis() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigatewaypb.ListApisResponse) } } @@ -397,6 +409,12 @@ func ExampleClient_ListGateways() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigatewaypb.ListGatewaysResponse) } } diff --git a/apigeeconnect/apiv1/connection_client_example_test.go b/apigeeconnect/apiv1/connection_client_example_test.go index 5387af4ef55a..fd6961735d42 100644 --- a/apigeeconnect/apiv1/connection_client_example_test.go +++ b/apigeeconnect/apiv1/connection_client_example_test.go @@ -69,5 +69,11 @@ func ExampleConnectionClient_ListConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeconnectpb.ListConnectionsResponse) } } diff --git a/apigeeconnect/apiv1/doc.go b/apigeeconnect/apiv1/doc.go index 7b60aeb08ad0..e7e83f621614 100755 --- a/apigeeconnect/apiv1/doc.go +++ b/apigeeconnect/apiv1/doc.go @@ -80,6 +80,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*apigeeconnectpb.ListConnectionsResponse) // } // // # Use of Context diff --git a/apigeeregistry/apiv1/provisioning_client_example_test.go b/apigeeregistry/apiv1/provisioning_client_example_test.go index c5ff4698dc2e..f3c1af482317 100644 --- a/apigeeregistry/apiv1/provisioning_client_example_test.go +++ b/apigeeregistry/apiv1/provisioning_client_example_test.go @@ -180,6 +180,12 @@ func ExampleProvisioningClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -357,5 +363,11 @@ func ExampleProvisioningClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/apigeeregistry/apiv1/registry_client_example_test.go b/apigeeregistry/apiv1/registry_client_example_test.go index d9ec537aba96..e5446a93dced 100644 --- a/apigeeregistry/apiv1/registry_client_example_test.go +++ b/apigeeregistry/apiv1/registry_client_example_test.go @@ -537,6 +537,12 @@ func ExampleRegistryClient_ListApiDeploymentRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiDeploymentRevisionsResponse) } } @@ -568,6 +574,12 @@ func ExampleRegistryClient_ListApiDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiDeploymentsResponse) } } @@ -599,6 +611,12 @@ func ExampleRegistryClient_ListApiSpecRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiSpecRevisionsResponse) } } @@ -630,6 +648,12 @@ func ExampleRegistryClient_ListApiSpecs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiSpecsResponse) } } @@ -661,6 +685,12 @@ func ExampleRegistryClient_ListApiVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiVersionsResponse) } } @@ -692,6 +722,12 @@ func ExampleRegistryClient_ListApis() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApisResponse) } } @@ -723,6 +759,12 @@ func ExampleRegistryClient_ListArtifacts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListArtifactsResponse) } } @@ -1004,6 +1046,12 @@ func ExampleRegistryClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1181,5 +1229,11 @@ func ExampleRegistryClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/apikeys/apiv2/api_keys_client_example_test.go b/apikeys/apiv2/api_keys_client_example_test.go index 96ee7c4222a8..2546bfb0f95e 100644 --- a/apikeys/apiv2/api_keys_client_example_test.go +++ b/apikeys/apiv2/api_keys_client_example_test.go @@ -197,6 +197,12 @@ func ExampleClient_ListKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apikeyspb.ListKeysResponse) } } diff --git a/appengine/apiv1/authorized_certificates_client_example_test.go b/appengine/apiv1/authorized_certificates_client_example_test.go index bd0e0ed11222..8c5bbb8392e5 100644 --- a/appengine/apiv1/authorized_certificates_client_example_test.go +++ b/appengine/apiv1/authorized_certificates_client_example_test.go @@ -159,6 +159,12 @@ func ExampleAuthorizedCertificatesClient_ListAuthorizedCertificates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListAuthorizedCertificatesResponse) } } diff --git a/appengine/apiv1/authorized_domains_client_example_test.go b/appengine/apiv1/authorized_domains_client_example_test.go index bc8eb1c40af5..b4c106eba35b 100644 --- a/appengine/apiv1/authorized_domains_client_example_test.go +++ b/appengine/apiv1/authorized_domains_client_example_test.go @@ -86,5 +86,11 @@ func ExampleAuthorizedDomainsClient_ListAuthorizedDomains() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListAuthorizedDomainsResponse) } } diff --git a/appengine/apiv1/domain_mappings_client_example_test.go b/appengine/apiv1/domain_mappings_client_example_test.go index 559e9e16c5d4..ea4f08bf3ddf 100644 --- a/appengine/apiv1/domain_mappings_client_example_test.go +++ b/appengine/apiv1/domain_mappings_client_example_test.go @@ -169,6 +169,12 @@ func ExampleDomainMappingsClient_ListDomainMappings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListDomainMappingsResponse) } } diff --git a/appengine/apiv1/firewall_client_example_test.go b/appengine/apiv1/firewall_client_example_test.go index 66d7f16ce15e..288fea8bcb8e 100644 --- a/appengine/apiv1/firewall_client_example_test.go +++ b/appengine/apiv1/firewall_client_example_test.go @@ -184,6 +184,12 @@ func ExampleFirewallClient_ListIngressRules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListIngressRulesResponse) } } diff --git a/appengine/apiv1/instances_client_example_test.go b/appengine/apiv1/instances_client_example_test.go index 068cced0101d..2ad15a019a06 100644 --- a/appengine/apiv1/instances_client_example_test.go +++ b/appengine/apiv1/instances_client_example_test.go @@ -169,5 +169,11 @@ func ExampleInstancesClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListInstancesResponse) } } diff --git a/appengine/apiv1/services_client_example_test.go b/appengine/apiv1/services_client_example_test.go index fa385f720ad5..e3148644fdff 100644 --- a/appengine/apiv1/services_client_example_test.go +++ b/appengine/apiv1/services_client_example_test.go @@ -139,6 +139,12 @@ func ExampleServicesClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListServicesResponse) } } diff --git a/appengine/apiv1/versions_client_example_test.go b/appengine/apiv1/versions_client_example_test.go index 038ebbd2d3a1..5561ae890b60 100644 --- a/appengine/apiv1/versions_client_example_test.go +++ b/appengine/apiv1/versions_client_example_test.go @@ -169,6 +169,12 @@ func ExampleVersionsClient_ListVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListVersionsResponse) } } diff --git a/apphub/apiv1/app_hub_client_example_test.go b/apphub/apiv1/app_hub_client_example_test.go index 591f0c69d614..182807d3130b 100644 --- a/apphub/apiv1/app_hub_client_example_test.go +++ b/apphub/apiv1/app_hub_client_example_test.go @@ -496,6 +496,12 @@ func ExampleClient_ListApplications() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListApplicationsResponse) } } @@ -527,6 +533,12 @@ func ExampleClient_ListDiscoveredServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListDiscoveredServicesResponse) } } @@ -558,6 +570,12 @@ func ExampleClient_ListDiscoveredWorkloads() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListDiscoveredWorkloadsResponse) } } @@ -589,6 +607,12 @@ func ExampleClient_ListServiceProjectAttachments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListServiceProjectAttachmentsResponse) } } @@ -620,6 +644,12 @@ func ExampleClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListServicesResponse) } } @@ -651,6 +681,12 @@ func ExampleClient_ListWorkloads() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListWorkloadsResponse) } } @@ -872,6 +908,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1049,5 +1091,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/apps/events/subscriptions/apiv1/subscriptions_client_example_test.go b/apps/events/subscriptions/apiv1/subscriptions_client_example_test.go index ce9a31c6c015..60730274ccb8 100644 --- a/apps/events/subscriptions/apiv1/subscriptions_client_example_test.go +++ b/apps/events/subscriptions/apiv1/subscriptions_client_example_test.go @@ -170,6 +170,12 @@ func ExampleClient_ListSubscriptions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*subscriptionspb.ListSubscriptionsResponse) } } diff --git a/apps/meet/apiv2/conference_records_client_example_test.go b/apps/meet/apiv2/conference_records_client_example_test.go index d892da4a4a65..cbc288cb3b53 100644 --- a/apps/meet/apiv2/conference_records_client_example_test.go +++ b/apps/meet/apiv2/conference_records_client_example_test.go @@ -236,6 +236,12 @@ func ExampleConferenceRecordsClient_ListConferenceRecords() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListConferenceRecordsResponse) } } @@ -267,6 +273,12 @@ func ExampleConferenceRecordsClient_ListParticipantSessions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantSessionsResponse) } } @@ -298,6 +310,12 @@ func ExampleConferenceRecordsClient_ListParticipants() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantsResponse) } } @@ -329,6 +347,12 @@ func ExampleConferenceRecordsClient_ListRecordings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListRecordingsResponse) } } @@ -360,6 +384,12 @@ func ExampleConferenceRecordsClient_ListTranscriptEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptEntriesResponse) } } @@ -391,5 +421,11 @@ func ExampleConferenceRecordsClient_ListTranscripts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptsResponse) } } diff --git a/apps/meet/apiv2beta/conference_records_client_example_test.go b/apps/meet/apiv2beta/conference_records_client_example_test.go index c0f638a47dee..6b54aa970685 100644 --- a/apps/meet/apiv2beta/conference_records_client_example_test.go +++ b/apps/meet/apiv2beta/conference_records_client_example_test.go @@ -236,6 +236,12 @@ func ExampleConferenceRecordsClient_ListConferenceRecords() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListConferenceRecordsResponse) } } @@ -267,6 +273,12 @@ func ExampleConferenceRecordsClient_ListParticipantSessions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantSessionsResponse) } } @@ -298,6 +310,12 @@ func ExampleConferenceRecordsClient_ListParticipants() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantsResponse) } } @@ -329,6 +347,12 @@ func ExampleConferenceRecordsClient_ListRecordings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListRecordingsResponse) } } @@ -360,6 +384,12 @@ func ExampleConferenceRecordsClient_ListTranscriptEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptEntriesResponse) } } @@ -391,5 +421,11 @@ func ExampleConferenceRecordsClient_ListTranscripts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptsResponse) } } diff --git a/area120/tables/apiv1alpha1/tables_client_example_test.go b/area120/tables/apiv1alpha1/tables_client_example_test.go index 96fc1a388b90..706856194b21 100644 --- a/area120/tables/apiv1alpha1/tables_client_example_test.go +++ b/area120/tables/apiv1alpha1/tables_client_example_test.go @@ -282,6 +282,12 @@ func ExampleClient_ListRows() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tablespb.ListRowsResponse) } } @@ -313,6 +319,12 @@ func ExampleClient_ListTables() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tablespb.ListTablesResponse) } } @@ -344,6 +356,12 @@ func ExampleClient_ListWorkspaces() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tablespb.ListWorkspacesResponse) } } diff --git a/artifactregistry/apiv1/artifact_registry_client_example_test.go b/artifactregistry/apiv1/artifact_registry_client_example_test.go index d3f17d5a8830..f29b90de54f8 100644 --- a/artifactregistry/apiv1/artifact_registry_client_example_test.go +++ b/artifactregistry/apiv1/artifact_registry_client_example_test.go @@ -639,6 +639,12 @@ func ExampleClient_ListDockerImages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListDockerImagesResponse) } } @@ -670,6 +676,12 @@ func ExampleClient_ListFiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListFilesResponse) } } @@ -701,6 +713,12 @@ func ExampleClient_ListMavenArtifacts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListMavenArtifactsResponse) } } @@ -732,6 +750,12 @@ func ExampleClient_ListNpmPackages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListNpmPackagesResponse) } } @@ -763,6 +787,12 @@ func ExampleClient_ListPackages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListPackagesResponse) } } @@ -794,6 +824,12 @@ func ExampleClient_ListPythonPackages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListPythonPackagesResponse) } } @@ -825,6 +861,12 @@ func ExampleClient_ListRepositories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListRepositoriesResponse) } } @@ -856,6 +898,12 @@ func ExampleClient_ListTags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListTagsResponse) } } @@ -887,6 +935,12 @@ func ExampleClient_ListVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListVersionsResponse) } } @@ -1093,6 +1147,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/artifactregistry/apiv1beta2/artifact_registry_client_example_test.go b/artifactregistry/apiv1beta2/artifact_registry_client_example_test.go index c654cee1c213..2b4722b7bcea 100644 --- a/artifactregistry/apiv1beta2/artifact_registry_client_example_test.go +++ b/artifactregistry/apiv1beta2/artifact_registry_client_example_test.go @@ -485,6 +485,12 @@ func ExampleClient_ListFiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListFilesResponse) } } @@ -516,6 +522,12 @@ func ExampleClient_ListPackages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListPackagesResponse) } } @@ -547,6 +559,12 @@ func ExampleClient_ListRepositories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListRepositoriesResponse) } } @@ -578,6 +596,12 @@ func ExampleClient_ListTags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListTagsResponse) } } @@ -609,6 +633,12 @@ func ExampleClient_ListVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListVersionsResponse) } } @@ -790,5 +820,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/asset/apiv1/asset_client_example_test.go b/asset/apiv1/asset_client_example_test.go index b0400e0695f4..eeb871fbb36d 100644 --- a/asset/apiv1/asset_client_example_test.go +++ b/asset/apiv1/asset_client_example_test.go @@ -167,6 +167,12 @@ func ExampleClient_AnalyzeOrgPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.AnalyzeOrgPoliciesResponse) } } @@ -198,6 +204,12 @@ func ExampleClient_AnalyzeOrgPolicyGovernedAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.AnalyzeOrgPolicyGovernedAssetsResponse) } } @@ -229,6 +241,12 @@ func ExampleClient_AnalyzeOrgPolicyGovernedContainers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.AnalyzeOrgPolicyGovernedContainersResponse) } } @@ -486,6 +504,12 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.ListAssetsResponse) } } @@ -542,6 +566,12 @@ func ExampleClient_ListSavedQueries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.ListSavedQueriesResponse) } } @@ -598,6 +628,12 @@ func ExampleClient_SearchAllIamPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.SearchAllIamPoliciesResponse) } } @@ -629,6 +665,12 @@ func ExampleClient_SearchAllResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.SearchAllResourcesResponse) } } diff --git a/asset/apiv1/assetpb/assets.pb.go b/asset/apiv1/assetpb/assets.pb.go index d98d682c9451..6aec839e8c15 100755 --- a/asset/apiv1/assetpb/assets.pb.go +++ b/asset/apiv1/assetpb/assets.pb.go @@ -929,6 +929,8 @@ type Tag struct { // TagKey namespaced name, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. TagKey *string `protobuf:"bytes,1,opt,name=tag_key,json=tagKey,proto3,oneof" json:"tag_key,omitempty"` + // TagKey ID, in the format of tagKeys/{TAG_KEY_ID}. + TagKeyId *string `protobuf:"bytes,2,opt,name=tag_key_id,json=tagKeyId,proto3,oneof" json:"tag_key_id,omitempty"` // TagValue namespaced name, in the format of // {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. TagValue *string `protobuf:"bytes,3,opt,name=tag_value,json=tagValue,proto3,oneof" json:"tag_value,omitempty"` @@ -975,6 +977,13 @@ func (x *Tag) GetTagKey() string { return "" } +func (x *Tag) GetTagKeyId() string { + if x != nil && x.TagKeyId != nil { + return *x.TagKeyId + } + return "" +} + func (x *Tag) GetTagValue() string { if x != nil && x.TagValue != nil { return *x.TagValue @@ -1350,6 +1359,7 @@ type ResourceSearchResult struct { // - `tagKeys:"123456789/env*"` // - `tagKeys="123456789/env"` // - `tagKeys:"env"` + // - `tagKeyIds="tagKeys/123"` // - `tagValues:"env"` // - `tagValues:"env/prod"` // - `tagValues:"123456789/env/prod*"` @@ -1370,6 +1380,7 @@ type ResourceSearchResult struct { // - `effectiveTagKeys:"123456789/env*"` // - `effectiveTagKeys="123456789/env"` // - `effectiveTagKeys:"env"` + // - `effectiveTagKeyIds="tagKeys/123"` // - `effectiveTagValues:"env"` // - `effectiveTagValues:"env/prod"` // - `effectiveTagValues:"123456789/env/prod*"` @@ -2966,317 +2977,320 @@ var file_google_cloud_asset_v1_assets_proto_rawDesc = []byte{ 0x73, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x54, 0x79, - 0x70, 0x65, 0x22, 0x97, 0x01, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x61, + 0x70, 0x65, 0x22, 0xc9, 0x01, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x74, - 0x61, 0x67, 0x4b, 0x65, 0x79, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x74, - 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, 0x0c, 0x74, 0x61, - 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x02, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x64, 0x88, 0x01, - 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x42, 0x0c, 0x0a, - 0x0a, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, - 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x22, 0xa0, 0x01, 0x0a, - 0x13, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x44, 0x65, 0x74, - 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, - 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, - 0x00, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, - 0x69, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, - 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x42, 0x14, 0x0a, 0x12, 0x5f, 0x61, 0x74, - 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, - 0xd5, 0x0c, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, - 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, - 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, - 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, - 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, - 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x07, 0x6b, 0x6d, 0x73, 0x5f, - 0x6b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x6b, - 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, 0x65, 0x79, - 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x73, - 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, - 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, - 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, - 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, - 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x4c, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x61, - 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x14, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x39, - 0x0a, 0x19, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x16, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x13, 0x76, 0x65, 0x72, - 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, - 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x56, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, - 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, + 0x61, 0x67, 0x4b, 0x65, 0x79, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x5f, + 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, + 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x74, + 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, + 0x52, 0x08, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x12, 0x25, 0x0a, + 0x0c, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x0a, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, + 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, + 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x42, + 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0f, 0x0a, + 0x0d, 0x5f, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x22, 0xa0, + 0x01, 0x0a, 0x13, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x30, 0x0a, 0x11, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x10, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x88, 0x01, 0x01, 0x12, 0x41, 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, + 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x0d, 0x65, 0x66, + 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x42, 0x14, 0x0a, 0x12, 0x5f, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x22, 0xd5, 0x0c, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, + 0x72, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, + 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4f, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, + 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, + 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x6e, + 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x07, 0x6b, 0x6d, + 0x73, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x06, 0x6b, 0x6d, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x6d, 0x73, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x6d, 0x73, 0x4b, 0x65, + 0x79, 0x73, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x12, 0x4c, 0x0a, 0x15, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x14, 0x61, 0x64, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x12, 0x39, 0x0a, 0x19, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x16, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x52, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x59, 0x0a, 0x13, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, + 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x12, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x61, 0x74, 0x74, + 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x64, + 0x0a, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x18, + 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x68, 0x69, 0x70, 0x73, 0x12, 0x1d, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, + 0x18, 0x17, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4b, + 0x65, 0x79, 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x73, 0x18, 0x19, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x61, 0x67, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0d, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x0b, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x64, 0x73, 0x12, 0x2e, + 0x0a, 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x51, + 0x0a, 0x0e, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, + 0x18, 0x1e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, + 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, + 0x6c, 0x73, 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, + 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x67, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, + 0x72, 0x65, 0x6e, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x6f, 0x0a, + 0x12, 0x73, 0x63, 0x63, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, + 0x72, 0x6b, 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x63, 0x63, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x63, + 0x63, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x1a, 0x39, + 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x69, 0x0a, 0x12, 0x52, 0x65, 0x6c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x11, 0x61, 0x74, 0x74, 0x61, 0x63, - 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x0d, - 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x18, 0x15, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, - 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, - 0x70, 0x73, 0x12, 0x1d, 0x0a, 0x08, 0x74, 0x61, 0x67, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x17, - 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x61, 0x67, 0x4b, 0x65, 0x79, - 0x73, 0x12, 0x21, 0x0a, 0x0a, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, - 0x19, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x61, 0x67, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0d, 0x74, 0x61, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x0b, 0x74, 0x61, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x49, 0x64, 0x73, 0x12, 0x2e, 0x0a, 0x04, - 0x74, 0x61, 0x67, 0x73, 0x18, 0x1d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x51, 0x0a, 0x0e, - 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x1e, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x66, 0x66, - 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, - 0x52, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54, 0x61, 0x67, 0x73, 0x12, - 0x2a, 0x0a, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x67, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x6f, 0x0a, 0x12, 0x73, - 0x63, 0x63, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, - 0x73, 0x18, 0x20, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x63, 0x63, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, - 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x63, 0x63, 0x53, - 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x1a, 0x39, 0x0a, 0x0b, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x69, 0x0a, 0x12, 0x52, 0x65, 0x6c, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x53, 0x63, 0x63, 0x53, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, - 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x62, 0x0a, 0x11, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, + 0x75, 0x63, 0x74, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x8c, 0x01, + 0x0a, 0x10, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x59, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, - 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x1a, 0x43, 0x0a, 0x15, 0x53, 0x63, 0x63, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, - 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x62, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x73, 0x69, - 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, - 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x8c, 0x01, 0x0a, 0x10, - 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, - 0x59, 0x0a, 0x13, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, - 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x67, 0x0a, 0x10, 0x52, 0x65, - 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x53, - 0x0a, 0x11, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x52, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x22, 0x5e, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x5f, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, 0x73, 0x65, - 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x10, 0x66, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x22, 0x88, 0x05, 0x0a, 0x15, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, - 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1a, 0x0a, - 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, - 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0c, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, - 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, - 0x5a, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, - 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd0, 0x02, 0x0a, 0x0b, - 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x81, 0x01, 0x0a, 0x13, - 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, - 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x6d, 0x61, 0x74, - 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, - 0x2f, 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, - 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, - 0x1a, 0x8b, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, - 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, - 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x5a, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, - 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, - 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x54, - 0x0a, 0x16, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, - 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, - 0x61, 0x75, 0x73, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 0x10, - 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, - 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x52, 0x0f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x59, 0x0a, 0x0f, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x45, 0x56, 0x41, 0x4c, 0x55, 0x41, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, - 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x55, 0x45, - 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x41, 0x4c, 0x53, 0x45, 0x10, 0x02, 0x12, 0x0f, 0x0a, - 0x0b, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x22, 0xc3, - 0x0b, 0x0a, 0x17, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, - 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3d, 0x0a, 0x1b, 0x61, 0x74, - 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, - 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x69, 0x61, 0x6d, - 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, - 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x42, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x69, 0x61, 0x6d, 0x42, 0x69, 0x6e, 0x64, 0x69, - 0x6e, 0x67, 0x12, 0x72, 0x0a, 0x14, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x6f, 0x6e, - 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, - 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, - 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x12, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, - 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x60, 0x0a, 0x0d, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, - 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x49, 0x64, - 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0c, 0x69, 0x64, 0x65, 0x6e, - 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x75, 0x6c, 0x6c, - 0x79, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0d, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x1a, - 0x8e, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2c, 0x0a, 0x12, - 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x75, 0x6c, 0x6c, 0x52, 0x65, - 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x6e, - 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, - 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, - 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x1a, 0xa6, 0x01, 0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x04, 0x72, - 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x72, 0x6f, 0x6c, - 0x65, 0x12, 0x20, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, - 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, - 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, + 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x67, 0x0a, 0x10, + 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x12, 0x53, 0x0a, 0x11, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, - 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, - 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, - 0x6f, 0x66, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x1a, 0x74, 0x0a, 0x08, 0x49, 0x64, 0x65, - 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x6e, 0x61, - 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, - 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x1a, - 0x48, 0x0a, 0x04, 0x45, 0x64, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, - 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74, - 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0xf8, 0x02, 0x0a, 0x11, 0x41, 0x63, - 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x12, - 0x55, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x52, 0x10, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x73, 0x22, 0x5e, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x5f, + 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x88, 0x05, 0x0a, 0x15, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, + 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x61, 0x73, 0x73, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x18, + 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x12, 0x22, + 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, + 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x06, 0x70, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x12, 0x5a, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, + 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x0b, 0x65, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xd0, 0x02, + 0x0a, 0x0b, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x81, 0x01, + 0x0a, 0x13, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x50, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x53, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x6c, 0x61, 0x6e, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, + 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x12, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x1a, 0x2f, 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x1a, 0x8b, 0x01, 0x0a, 0x17, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x64, 0x50, 0x65, + 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, + 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, + 0x12, 0x5a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x44, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x78, + 0x70, 0x6c, 0x61, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, + 0x22, 0x54, 0x0a, 0x16, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, + 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x13, 0x43, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, + 0x0a, 0x10, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x59, 0x0a, 0x0f, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x45, 0x56, 0x41, 0x4c, + 0x55, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, + 0x55, 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x41, 0x4c, 0x53, 0x45, 0x10, 0x02, 0x12, + 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4e, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x03, + 0x22, 0xc3, 0x0b, 0x0a, 0x17, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, + 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3d, 0x0a, 0x1b, + 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x18, 0x61, 0x74, 0x74, 0x61, 0x63, 0x68, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x46, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x69, + 0x61, 0x6d, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, + 0x2e, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0a, 0x69, 0x61, 0x6d, 0x42, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x12, 0x72, 0x0a, 0x14, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x63, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, - 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, - 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, - 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x0e, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, - 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, - 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, - 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, - 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x13, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xbd, 0x01, 0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, - 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, - 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, - 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x54, - 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x6c, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x12, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x4c, 0x69, 0x73, 0x74, 0x73, 0x12, 0x60, 0x0a, 0x0d, 0x69, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, + 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, + 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x0c, 0x69, 0x64, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x75, + 0x6c, 0x6c, 0x79, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x0d, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, + 0x64, 0x1a, 0x8e, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2c, + 0x0a, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x75, 0x6c, 0x6c, + 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, + 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x1a, 0xa6, 0x01, 0x0a, 0x06, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, + 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x04, 0x72, + 0x6f, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x54, 0x0a, 0x0e, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, + 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, + 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, + 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x61, 0x6e, + 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0e, 0x0a, 0x0c, 0x6f, + 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x1a, 0x74, 0x0a, 0x08, 0x49, + 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x61, + 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x0d, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x1a, 0x48, 0x0a, 0x04, 0x45, 0x64, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x1a, 0xf8, 0x02, 0x0a, 0x11, + 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x4c, 0x69, 0x73, + 0x74, 0x12, 0x55, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, + 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, + 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, + 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x52, 0x08, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x5a, 0x0a, 0x0e, 0x72, + 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x45, - 0x64, 0x67, 0x65, 0x73, 0x42, 0x8d, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, - 0x76, 0x31, 0x42, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, - 0x5a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, - 0x31, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x70, 0x62, 0x3b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x70, - 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x5d, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, + 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x13, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, + 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xbd, 0x01, 0x0a, 0x0c, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, + 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x74, 0x79, 0x52, 0x0a, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x54, 0x0a, 0x0b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, + 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x73, 0x69, 0x73, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x45, 0x64, 0x67, 0x65, 0x52, 0x0a, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x45, 0x64, 0x67, 0x65, 0x73, 0x42, 0x8d, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x2f, 0x61, 0x70, + 0x69, 0x76, 0x31, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x74, 0x70, 0x62, 0x3b, 0x61, 0x73, 0x73, 0x65, + 0x74, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, + 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x73, + 0x73, 0x65, 0x74, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/asset/apiv1p5beta1/asset_client_example_test.go b/asset/apiv1p5beta1/asset_client_example_test.go index 4973a1b2830e..20c334bd6530 100644 --- a/asset/apiv1p5beta1/asset_client_example_test.go +++ b/asset/apiv1p5beta1/asset_client_example_test.go @@ -86,5 +86,11 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.ListAssetsResponse) } } diff --git a/asset/apiv1p5beta1/doc.go b/asset/apiv1p5beta1/doc.go index 562a5983769a..3848e3d05793 100755 --- a/asset/apiv1p5beta1/doc.go +++ b/asset/apiv1p5beta1/doc.go @@ -85,6 +85,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*assetpb.ListAssetsResponse) // } // // # Use of Context diff --git a/assuredworkloads/apiv1/assured_workloads_client_example_test.go b/assuredworkloads/apiv1/assured_workloads_client_example_test.go index 4dd50d0242be..41c8d2665fc0 100644 --- a/assuredworkloads/apiv1/assured_workloads_client_example_test.go +++ b/assuredworkloads/apiv1/assured_workloads_client_example_test.go @@ -215,6 +215,12 @@ func ExampleClient_ListViolations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assuredworkloadspb.ListViolationsResponse) } } @@ -246,6 +252,12 @@ func ExampleClient_ListWorkloads() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assuredworkloadspb.ListWorkloadsResponse) } } @@ -352,5 +364,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/assuredworkloads/apiv1beta1/assured_workloads_client_example_test.go b/assuredworkloads/apiv1beta1/assured_workloads_client_example_test.go index b43a47ff4c8e..60bb00abdae9 100644 --- a/assuredworkloads/apiv1beta1/assured_workloads_client_example_test.go +++ b/assuredworkloads/apiv1beta1/assured_workloads_client_example_test.go @@ -190,6 +190,12 @@ func ExampleClient_ListWorkloads() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assuredworkloadspb.ListWorkloadsResponse) } } @@ -296,5 +302,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/automl/apiv1/auto_ml_client_example_test.go b/automl/apiv1/auto_ml_client_example_test.go index 790bd4d22a7f..602d77644b1d 100644 --- a/automl/apiv1/auto_ml_client_example_test.go +++ b/automl/apiv1/auto_ml_client_example_test.go @@ -414,6 +414,12 @@ func ExampleClient_ListDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListDatasetsResponse) } } @@ -445,6 +451,12 @@ func ExampleClient_ListModelEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelEvaluationsResponse) } } @@ -476,6 +488,12 @@ func ExampleClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelsResponse) } } diff --git a/automl/apiv1beta1/auto_ml_client_example_test.go b/automl/apiv1beta1/auto_ml_client_example_test.go index bde3755f5472..31bf7eddc1a8 100644 --- a/automl/apiv1beta1/auto_ml_client_example_test.go +++ b/automl/apiv1beta1/auto_ml_client_example_test.go @@ -487,6 +487,12 @@ func ExampleClient_ListColumnSpecs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListColumnSpecsResponse) } } @@ -518,6 +524,12 @@ func ExampleClient_ListDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListDatasetsResponse) } } @@ -549,6 +561,12 @@ func ExampleClient_ListModelEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelEvaluationsResponse) } } @@ -580,6 +598,12 @@ func ExampleClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelsResponse) } } @@ -611,6 +635,12 @@ func ExampleClient_ListTableSpecs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListTableSpecsResponse) } } diff --git a/baremetalsolution/apiv2/bare_metal_solution_client_example_test.go b/baremetalsolution/apiv2/bare_metal_solution_client_example_test.go index b58921d7665b..71b50484477f 100644 --- a/baremetalsolution/apiv2/bare_metal_solution_client_example_test.go +++ b/baremetalsolution/apiv2/bare_metal_solution_client_example_test.go @@ -587,6 +587,12 @@ func ExampleClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListInstancesResponse) } } @@ -618,6 +624,12 @@ func ExampleClient_ListLuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListLunsResponse) } } @@ -674,6 +686,12 @@ func ExampleClient_ListNetworks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListNetworksResponse) } } @@ -705,6 +723,12 @@ func ExampleClient_ListNfsShares() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListNfsSharesResponse) } } @@ -736,6 +760,12 @@ func ExampleClient_ListOSImages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListOSImagesResponse) } } @@ -767,6 +797,12 @@ func ExampleClient_ListProvisioningQuotas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListProvisioningQuotasResponse) } } @@ -798,6 +834,12 @@ func ExampleClient_ListSSHKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListSSHKeysResponse) } } @@ -829,6 +871,12 @@ func ExampleClient_ListVolumeSnapshots() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListVolumeSnapshotsResponse) } } @@ -860,6 +908,12 @@ func ExampleClient_ListVolumes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListVolumesResponse) } } @@ -1336,5 +1390,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/batch/apiv1/batch_client_example_test.go b/batch/apiv1/batch_client_example_test.go index fed27c7388c8..6d3073163595 100644 --- a/batch/apiv1/batch_client_example_test.go +++ b/batch/apiv1/batch_client_example_test.go @@ -191,6 +191,12 @@ func ExampleClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*batchpb.ListJobsResponse) } } @@ -222,6 +228,12 @@ func ExampleClient_ListTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*batchpb.ListTasksResponse) } } @@ -278,6 +290,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -380,5 +398,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/beyondcorp/appconnections/apiv1/app_connections_client_example_test.go b/beyondcorp/appconnections/apiv1/app_connections_client_example_test.go index 47083e44869b..0ec1713010a8 100644 --- a/beyondcorp/appconnections/apiv1/app_connections_client_example_test.go +++ b/beyondcorp/appconnections/apiv1/app_connections_client_example_test.go @@ -155,6 +155,12 @@ func ExampleClient_ListAppConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appconnectionspb.ListAppConnectionsResponse) } } @@ -186,6 +192,12 @@ func ExampleClient_ResolveAppConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appconnectionspb.ResolveAppConnectionsResponse) } } @@ -272,6 +284,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -449,5 +467,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/beyondcorp/appconnectors/apiv1/app_connectors_client_example_test.go b/beyondcorp/appconnectors/apiv1/app_connectors_client_example_test.go index 3ceca40678fc..d7f66196ea5f 100644 --- a/beyondcorp/appconnectors/apiv1/app_connectors_client_example_test.go +++ b/beyondcorp/appconnectors/apiv1/app_connectors_client_example_test.go @@ -155,6 +155,12 @@ func ExampleClient_ListAppConnectors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appconnectorspb.ListAppConnectorsResponse) } } @@ -271,6 +277,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -448,5 +460,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/beyondcorp/appgateways/apiv1/app_gateways_client_example_test.go b/beyondcorp/appgateways/apiv1/app_gateways_client_example_test.go index d1d2ee53f003..4c3aa57dc228 100644 --- a/beyondcorp/appgateways/apiv1/app_gateways_client_example_test.go +++ b/beyondcorp/appgateways/apiv1/app_gateways_client_example_test.go @@ -155,6 +155,12 @@ func ExampleClient_ListAppGateways() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appgatewayspb.ListAppGatewaysResponse) } } @@ -211,6 +217,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -388,5 +400,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client_example_test.go b/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client_example_test.go index 9b9cf56b4b63..8167105be644 100644 --- a/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client_example_test.go +++ b/beyondcorp/clientconnectorservices/apiv1/client_connector_services_client_example_test.go @@ -155,6 +155,12 @@ func ExampleClient_ListClientConnectorServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clientconnectorservicespb.ListClientConnectorServicesResponse) } } @@ -241,6 +247,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -418,5 +430,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/beyondcorp/clientgateways/apiv1/client_gateways_client_example_test.go b/beyondcorp/clientgateways/apiv1/client_gateways_client_example_test.go index e3edea38f56e..58eeab5c7567 100644 --- a/beyondcorp/clientgateways/apiv1/client_gateways_client_example_test.go +++ b/beyondcorp/clientgateways/apiv1/client_gateways_client_example_test.go @@ -155,6 +155,12 @@ func ExampleClient_ListClientGateways() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clientgatewayspb.ListClientGatewaysResponse) } } @@ -211,6 +217,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -388,5 +400,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/bigquery/analyticshub/apiv1/analytics_hub_client_example_test.go b/bigquery/analyticshub/apiv1/analytics_hub_client_example_test.go index b2584442672e..d5dde85f457a 100644 --- a/bigquery/analyticshub/apiv1/analytics_hub_client_example_test.go +++ b/bigquery/analyticshub/apiv1/analytics_hub_client_example_test.go @@ -311,6 +311,12 @@ func ExampleClient_ListDataExchanges() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListDataExchangesResponse) } } @@ -342,6 +348,12 @@ func ExampleClient_ListListings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListListingsResponse) } } @@ -373,6 +385,12 @@ func ExampleClient_ListOrgDataExchanges() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListOrgDataExchangesResponse) } } @@ -404,6 +422,12 @@ func ExampleClient_ListSharedResourceSubscriptions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListSharedResourceSubscriptionsResponse) } } @@ -435,6 +459,12 @@ func ExampleClient_ListSubscriptions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListSubscriptionsResponse) } } diff --git a/bigquery/biglake/apiv1/metastore_client_example_test.go b/bigquery/biglake/apiv1/metastore_client_example_test.go index d0eb43bf324e..b6cda78804c7 100644 --- a/bigquery/biglake/apiv1/metastore_client_example_test.go +++ b/bigquery/biglake/apiv1/metastore_client_example_test.go @@ -311,6 +311,12 @@ func ExampleMetastoreClient_ListCatalogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListCatalogsResponse) } } @@ -342,6 +348,12 @@ func ExampleMetastoreClient_ListDatabases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListDatabasesResponse) } } @@ -373,6 +385,12 @@ func ExampleMetastoreClient_ListTables() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListTablesResponse) } } diff --git a/bigquery/biglake/apiv1alpha1/metastore_client_example_test.go b/bigquery/biglake/apiv1alpha1/metastore_client_example_test.go index 341709a85082..b3f50e763f4d 100644 --- a/bigquery/biglake/apiv1alpha1/metastore_client_example_test.go +++ b/bigquery/biglake/apiv1alpha1/metastore_client_example_test.go @@ -384,6 +384,12 @@ func ExampleMetastoreClient_ListCatalogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListCatalogsResponse) } } @@ -415,6 +421,12 @@ func ExampleMetastoreClient_ListDatabases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListDatabasesResponse) } } @@ -446,6 +458,12 @@ func ExampleMetastoreClient_ListLocks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListLocksResponse) } } @@ -477,6 +495,12 @@ func ExampleMetastoreClient_ListTables() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListTablesResponse) } } diff --git a/bigquery/connection/apiv1/connection_client_example_test.go b/bigquery/connection/apiv1/connection_client_example_test.go index 22f9c72608b5..1a8e67f619af 100644 --- a/bigquery/connection/apiv1/connection_client_example_test.go +++ b/bigquery/connection/apiv1/connection_client_example_test.go @@ -185,6 +185,12 @@ func ExampleClient_ListConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*connectionpb.ListConnectionsResponse) } } diff --git a/bigquery/dataexchange/apiv1beta1/analytics_hub_client_example_test.go b/bigquery/dataexchange/apiv1beta1/analytics_hub_client_example_test.go index fdd93f5a0023..13a2bbfe3e90 100644 --- a/bigquery/dataexchange/apiv1beta1/analytics_hub_client_example_test.go +++ b/bigquery/dataexchange/apiv1beta1/analytics_hub_client_example_test.go @@ -259,6 +259,12 @@ func ExampleAnalyticsHubClient_ListDataExchanges() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataexchangepb.ListDataExchangesResponse) } } @@ -290,6 +296,12 @@ func ExampleAnalyticsHubClient_ListListings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataexchangepb.ListListingsResponse) } } @@ -321,6 +333,12 @@ func ExampleAnalyticsHubClient_ListOrgDataExchanges() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataexchangepb.ListOrgDataExchangesResponse) } } @@ -502,5 +520,11 @@ func ExampleAnalyticsHubClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/bigquery/datapolicies/apiv1/data_policy_client_example_test.go b/bigquery/datapolicies/apiv1/data_policy_client_example_test.go index ce56ab18da88..c10dbd997a70 100644 --- a/bigquery/datapolicies/apiv1/data_policy_client_example_test.go +++ b/bigquery/datapolicies/apiv1/data_policy_client_example_test.go @@ -185,6 +185,12 @@ func ExampleDataPolicyClient_ListDataPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datapoliciespb.ListDataPoliciesResponse) } } diff --git a/bigquery/datapolicies/apiv1beta1/data_policy_client_example_test.go b/bigquery/datapolicies/apiv1beta1/data_policy_client_example_test.go index d12ca9819e3f..6317dbb86c7d 100644 --- a/bigquery/datapolicies/apiv1beta1/data_policy_client_example_test.go +++ b/bigquery/datapolicies/apiv1beta1/data_policy_client_example_test.go @@ -185,6 +185,12 @@ func ExampleDataPolicyClient_ListDataPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datapoliciespb.ListDataPoliciesResponse) } } diff --git a/bigquery/datatransfer/apiv1/data_transfer_client_example_test.go b/bigquery/datatransfer/apiv1/data_transfer_client_example_test.go index 3ee31227135e..3aac5acfcfca 100644 --- a/bigquery/datatransfer/apiv1/data_transfer_client_example_test.go +++ b/bigquery/datatransfer/apiv1/data_transfer_client_example_test.go @@ -281,6 +281,12 @@ func ExampleClient_ListDataSources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListDataSourcesResponse) } } @@ -312,6 +318,12 @@ func ExampleClient_ListTransferConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListTransferConfigsResponse) } } @@ -343,6 +355,12 @@ func ExampleClient_ListTransferLogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListTransferLogsResponse) } } @@ -374,6 +392,12 @@ func ExampleClient_ListTransferRuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListTransferRunsResponse) } } @@ -528,5 +552,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/bigquery/migration/apiv2/migration_client_example_test.go b/bigquery/migration/apiv2/migration_client_example_test.go index 1b52de8407fa..1bc0fb8e406c 100644 --- a/bigquery/migration/apiv2/migration_client_example_test.go +++ b/bigquery/migration/apiv2/migration_client_example_test.go @@ -167,6 +167,12 @@ func ExampleClient_ListMigrationSubtasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationSubtasksResponse) } } @@ -198,6 +204,12 @@ func ExampleClient_ListMigrationWorkflows() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationWorkflowsResponse) } } diff --git a/bigquery/migration/apiv2alpha/migration_client_example_test.go b/bigquery/migration/apiv2alpha/migration_client_example_test.go index 2f683150a77c..ad1a3b970af6 100644 --- a/bigquery/migration/apiv2alpha/migration_client_example_test.go +++ b/bigquery/migration/apiv2alpha/migration_client_example_test.go @@ -184,6 +184,12 @@ func ExampleClient_ListMigrationSubtasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationSubtasksResponse) } } @@ -215,6 +221,12 @@ func ExampleClient_ListMigrationWorkflows() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationWorkflowsResponse) } } diff --git a/bigquery/reservation/apiv1/reservation_client_example_test.go b/bigquery/reservation/apiv1/reservation_client_example_test.go index 08b9d280b4cb..7b5d287f4272 100644 --- a/bigquery/reservation/apiv1/reservation_client_example_test.go +++ b/bigquery/reservation/apiv1/reservation_client_example_test.go @@ -305,6 +305,12 @@ func ExampleClient_ListAssignments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.ListAssignmentsResponse) } } @@ -336,6 +342,12 @@ func ExampleClient_ListCapacityCommitments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.ListCapacityCommitmentsResponse) } } @@ -367,6 +379,12 @@ func ExampleClient_ListReservations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.ListReservationsResponse) } } @@ -448,6 +466,12 @@ func ExampleClient_SearchAllAssignments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.SearchAllAssignmentsResponse) } } @@ -479,6 +503,12 @@ func ExampleClient_SearchAssignments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.SearchAssignmentsResponse) } } diff --git a/billing/apiv1/cloud_billing_client_example_test.go b/billing/apiv1/cloud_billing_client_example_test.go index 015752ab264c..17f2301eca05 100644 --- a/billing/apiv1/cloud_billing_client_example_test.go +++ b/billing/apiv1/cloud_billing_client_example_test.go @@ -187,6 +187,12 @@ func ExampleCloudBillingClient_ListBillingAccounts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListBillingAccountsResponse) } } @@ -218,6 +224,12 @@ func ExampleCloudBillingClient_ListProjectBillingInfo() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListProjectBillingInfoResponse) } } diff --git a/billing/apiv1/cloud_catalog_client_example_test.go b/billing/apiv1/cloud_catalog_client_example_test.go index 17a28c019910..18d3eb78ba55 100644 --- a/billing/apiv1/cloud_catalog_client_example_test.go +++ b/billing/apiv1/cloud_catalog_client_example_test.go @@ -86,6 +86,12 @@ func ExampleCloudCatalogClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListServicesResponse) } } @@ -117,5 +123,11 @@ func ExampleCloudCatalogClient_ListSkus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListSkusResponse) } } diff --git a/billing/budgets/apiv1/budget_client_example_test.go b/billing/budgets/apiv1/budget_client_example_test.go index 47ed154d64db..c544a9d04282 100644 --- a/billing/budgets/apiv1/budget_client_example_test.go +++ b/billing/budgets/apiv1/budget_client_example_test.go @@ -159,6 +159,12 @@ func ExampleBudgetClient_ListBudgets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*budgetspb.ListBudgetsResponse) } } diff --git a/billing/budgets/apiv1beta1/budget_client_example_test.go b/billing/budgets/apiv1beta1/budget_client_example_test.go index 873d612e4ff3..145a75a5f643 100644 --- a/billing/budgets/apiv1beta1/budget_client_example_test.go +++ b/billing/budgets/apiv1beta1/budget_client_example_test.go @@ -159,6 +159,12 @@ func ExampleBudgetClient_ListBudgets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*budgetspb.ListBudgetsResponse) } } diff --git a/binaryauthorization/apiv1/binauthz_management_client_example_test.go b/binaryauthorization/apiv1/binauthz_management_client_example_test.go index ed2f387fc2f5..312129c0aed4 100644 --- a/binaryauthorization/apiv1/binauthz_management_client_example_test.go +++ b/binaryauthorization/apiv1/binauthz_management_client_example_test.go @@ -184,6 +184,12 @@ func ExampleBinauthzManagementClient_ListAttestors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*binaryauthorizationpb.ListAttestorsResponse) } } diff --git a/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client_example_test.go b/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client_example_test.go index 023653f9f60c..4cb1ac95b2ee 100644 --- a/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client_example_test.go +++ b/binaryauthorization/apiv1beta1/binauthz_management_service_v1_beta1_client_example_test.go @@ -184,6 +184,12 @@ func ExampleBinauthzManagementServiceV1Beta1Client_ListAttestors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*binaryauthorizationpb.ListAttestorsResponse) } } diff --git a/certificatemanager/apiv1/certificate_manager_client_example_test.go b/certificatemanager/apiv1/certificate_manager_client_example_test.go index 2f856fe48fb7..74aa35ba1039 100644 --- a/certificatemanager/apiv1/certificate_manager_client_example_test.go +++ b/certificatemanager/apiv1/certificate_manager_client_example_test.go @@ -586,6 +586,12 @@ func ExampleClient_ListCertificateIssuanceConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificateIssuanceConfigsResponse) } } @@ -617,6 +623,12 @@ func ExampleClient_ListCertificateMapEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificateMapEntriesResponse) } } @@ -648,6 +660,12 @@ func ExampleClient_ListCertificateMaps() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificateMapsResponse) } } @@ -679,6 +697,12 @@ func ExampleClient_ListCertificates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificatesResponse) } } @@ -710,6 +734,12 @@ func ExampleClient_ListDnsAuthorizations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListDnsAuthorizationsResponse) } } @@ -741,6 +771,12 @@ func ExampleClient_ListTrustConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListTrustConfigsResponse) } } @@ -947,6 +983,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1049,5 +1091,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/channel/apiv1/cloud_channel_client_example_test.go b/channel/apiv1/cloud_channel_client_example_test.go index 2a43814270b8..c4ce47237e3a 100644 --- a/channel/apiv1/cloud_channel_client_example_test.go +++ b/channel/apiv1/cloud_channel_client_example_test.go @@ -609,6 +609,12 @@ func ExampleCloudChannelClient_ListChannelPartnerLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListChannelPartnerLinksResponse) } } @@ -640,6 +646,12 @@ func ExampleCloudChannelClient_ListChannelPartnerRepricingConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListChannelPartnerRepricingConfigsResponse) } } @@ -671,6 +683,12 @@ func ExampleCloudChannelClient_ListCustomerRepricingConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListCustomerRepricingConfigsResponse) } } @@ -702,6 +720,12 @@ func ExampleCloudChannelClient_ListCustomers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListCustomersResponse) } } @@ -733,6 +757,12 @@ func ExampleCloudChannelClient_ListEntitlementChanges() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListEntitlementChangesResponse) } } @@ -764,6 +794,12 @@ func ExampleCloudChannelClient_ListEntitlements() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListEntitlementsResponse) } } @@ -795,6 +831,12 @@ func ExampleCloudChannelClient_ListOffers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListOffersResponse) } } @@ -826,6 +868,12 @@ func ExampleCloudChannelClient_ListProducts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListProductsResponse) } } @@ -857,6 +905,12 @@ func ExampleCloudChannelClient_ListPurchasableOffers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListPurchasableOffersResponse) } } @@ -888,6 +942,12 @@ func ExampleCloudChannelClient_ListPurchasableSkus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListPurchasableSkusResponse) } } @@ -919,6 +979,12 @@ func ExampleCloudChannelClient_ListSkuGroupBillableSkus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSkuGroupBillableSkusResponse) } } @@ -950,6 +1016,12 @@ func ExampleCloudChannelClient_ListSkuGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSkuGroupsResponse) } } @@ -981,6 +1053,12 @@ func ExampleCloudChannelClient_ListSkus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSkusResponse) } } @@ -1012,6 +1090,12 @@ func ExampleCloudChannelClient_ListSubscribers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSubscribersResponse) } } @@ -1043,6 +1127,12 @@ func ExampleCloudChannelClient_ListTransferableOffers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListTransferableOffersResponse) } } @@ -1074,6 +1164,12 @@ func ExampleCloudChannelClient_ListTransferableSkus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListTransferableSkusResponse) } } @@ -1524,5 +1620,11 @@ func ExampleCloudChannelClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/channel/apiv1/cloud_channel_reports_client_example_test.go b/channel/apiv1/cloud_channel_reports_client_example_test.go index c759b018985c..d2e4fb7bbfe3 100644 --- a/channel/apiv1/cloud_channel_reports_client_example_test.go +++ b/channel/apiv1/cloud_channel_reports_client_example_test.go @@ -87,6 +87,12 @@ func ExampleCloudChannelReportsClient_FetchReportResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.FetchReportResultsResponse) } } @@ -118,6 +124,12 @@ func ExampleCloudChannelReportsClient_ListReports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListReportsResponse) } } @@ -250,5 +262,11 @@ func ExampleCloudChannelReportsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/channel/apiv1/doc.go b/channel/apiv1/doc.go index bc2589f427bb..31048304cced 100755 --- a/channel/apiv1/doc.go +++ b/channel/apiv1/doc.go @@ -84,6 +84,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*channelpb.FetchReportResultsResponse) // } // // # Use of Context diff --git a/cloudbuild/apiv1/v2/cloud_build_client_example_test.go b/cloudbuild/apiv1/v2/cloud_build_client_example_test.go index 179ff9867b5a..e3260feec16e 100644 --- a/cloudbuild/apiv1/v2/cloud_build_client_example_test.go +++ b/cloudbuild/apiv1/v2/cloud_build_client_example_test.go @@ -352,6 +352,12 @@ func ExampleClient_ListBuildTriggers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListBuildTriggersResponse) } } @@ -383,6 +389,12 @@ func ExampleClient_ListBuilds() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListBuildsResponse) } } @@ -414,6 +426,12 @@ func ExampleClient_ListWorkerPools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListWorkerPoolsResponse) } } diff --git a/cloudbuild/apiv2/repository_manager_client_example_test.go b/cloudbuild/apiv2/repository_manager_client_example_test.go index d7639cacbbb5..9349926a16be 100644 --- a/cloudbuild/apiv2/repository_manager_client_example_test.go +++ b/cloudbuild/apiv2/repository_manager_client_example_test.go @@ -259,6 +259,12 @@ func ExampleRepositoryManagerClient_FetchLinkableRepositories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.FetchLinkableRepositoriesResponse) } } @@ -390,6 +396,12 @@ func ExampleRepositoryManagerClient_ListConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListConnectionsResponse) } } @@ -421,6 +433,12 @@ func ExampleRepositoryManagerClient_ListRepositories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListRepositoriesResponse) } } diff --git a/cloudcontrolspartner/apiv1/cloud_controls_partner_core_client_example_test.go b/cloudcontrolspartner/apiv1/cloud_controls_partner_core_client_example_test.go index 94aa660d4269..261bbde672cb 100644 --- a/cloudcontrolspartner/apiv1/cloud_controls_partner_core_client_example_test.go +++ b/cloudcontrolspartner/apiv1/cloud_controls_partner_core_client_example_test.go @@ -211,6 +211,12 @@ func ExampleCloudControlsPartnerCoreClient_ListAccessApprovalRequests() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListAccessApprovalRequestsResponse) } } @@ -242,6 +248,12 @@ func ExampleCloudControlsPartnerCoreClient_ListCustomers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListCustomersResponse) } } @@ -273,5 +285,11 @@ func ExampleCloudControlsPartnerCoreClient_ListWorkloads() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListWorkloadsResponse) } } diff --git a/cloudcontrolspartner/apiv1/cloud_controls_partner_monitoring_client_example_test.go b/cloudcontrolspartner/apiv1/cloud_controls_partner_monitoring_client_example_test.go index ec21d5ca5209..91f2b4836138 100644 --- a/cloudcontrolspartner/apiv1/cloud_controls_partner_monitoring_client_example_test.go +++ b/cloudcontrolspartner/apiv1/cloud_controls_partner_monitoring_client_example_test.go @@ -111,5 +111,11 @@ func ExampleCloudControlsPartnerMonitoringClient_ListViolations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListViolationsResponse) } } diff --git a/cloudcontrolspartner/apiv1beta/cloud_controls_partner_core_client_example_test.go b/cloudcontrolspartner/apiv1beta/cloud_controls_partner_core_client_example_test.go index f3d4c90ed87d..2adce5e96347 100644 --- a/cloudcontrolspartner/apiv1beta/cloud_controls_partner_core_client_example_test.go +++ b/cloudcontrolspartner/apiv1beta/cloud_controls_partner_core_client_example_test.go @@ -211,6 +211,12 @@ func ExampleCloudControlsPartnerCoreClient_ListAccessApprovalRequests() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListAccessApprovalRequestsResponse) } } @@ -242,6 +248,12 @@ func ExampleCloudControlsPartnerCoreClient_ListCustomers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListCustomersResponse) } } @@ -273,5 +285,11 @@ func ExampleCloudControlsPartnerCoreClient_ListWorkloads() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListWorkloadsResponse) } } diff --git a/cloudcontrolspartner/apiv1beta/cloud_controls_partner_monitoring_client_example_test.go b/cloudcontrolspartner/apiv1beta/cloud_controls_partner_monitoring_client_example_test.go index 206432d506ec..e9fca2456c5c 100644 --- a/cloudcontrolspartner/apiv1beta/cloud_controls_partner_monitoring_client_example_test.go +++ b/cloudcontrolspartner/apiv1beta/cloud_controls_partner_monitoring_client_example_test.go @@ -111,5 +111,11 @@ func ExampleCloudControlsPartnerMonitoringClient_ListViolations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListViolationsResponse) } } diff --git a/clouddms/apiv1/data_migration_client_example_test.go b/clouddms/apiv1/data_migration_client_example_test.go index b6cf2814d6ff..42bee9ecca44 100644 --- a/clouddms/apiv1/data_migration_client_example_test.go +++ b/clouddms/apiv1/data_migration_client_example_test.go @@ -467,6 +467,12 @@ func ExampleDataMigrationClient_DescribeDatabaseEntities() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.DescribeDatabaseEntitiesResponse) } } @@ -498,6 +504,12 @@ func ExampleDataMigrationClient_FetchStaticIps() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.FetchStaticIpsResponse) } } @@ -734,6 +746,12 @@ func ExampleDataMigrationClient_ListConnectionProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListConnectionProfilesResponse) } } @@ -765,6 +783,12 @@ func ExampleDataMigrationClient_ListConversionWorkspaces() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListConversionWorkspacesResponse) } } @@ -796,6 +820,12 @@ func ExampleDataMigrationClient_ListMappingRules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListMappingRulesResponse) } } @@ -827,6 +857,12 @@ func ExampleDataMigrationClient_ListMigrationJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListMigrationJobsResponse) } } @@ -858,6 +894,12 @@ func ExampleDataMigrationClient_ListPrivateConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListPrivateConnectionsResponse) } } @@ -1269,6 +1311,12 @@ func ExampleDataMigrationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1446,5 +1494,11 @@ func ExampleDataMigrationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/cloudprofiler/apiv2/export_client_example_test.go b/cloudprofiler/apiv2/export_client_example_test.go index 3c2eaafa74d8..51a95624fafe 100644 --- a/cloudprofiler/apiv2/export_client_example_test.go +++ b/cloudprofiler/apiv2/export_client_example_test.go @@ -86,5 +86,11 @@ func ExampleExportClient_ListProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudprofilerpb.ListProfilesResponse) } } diff --git a/cloudquotas/apiv1/cloud_quotas_client_example_test.go b/cloudquotas/apiv1/cloud_quotas_client_example_test.go index 409d5f4949b0..49d76fb09bcf 100644 --- a/cloudquotas/apiv1/cloud_quotas_client_example_test.go +++ b/cloudquotas/apiv1/cloud_quotas_client_example_test.go @@ -161,6 +161,12 @@ func ExampleClient_ListQuotaInfos() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudquotaspb.ListQuotaInfosResponse) } } @@ -192,6 +198,12 @@ func ExampleClient_ListQuotaPreferences() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudquotaspb.ListQuotaPreferencesResponse) } } diff --git a/cloudtasks/apiv2/cloud_tasks_client_example_test.go b/cloudtasks/apiv2/cloud_tasks_client_example_test.go index 3f66fe9c049e..2255536710d0 100644 --- a/cloudtasks/apiv2/cloud_tasks_client_example_test.go +++ b/cloudtasks/apiv2/cloud_tasks_client_example_test.go @@ -259,6 +259,12 @@ func ExampleClient_ListQueues() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListQueuesResponse) } } @@ -290,6 +296,12 @@ func ExampleClient_ListTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListTasksResponse) } } @@ -521,5 +533,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/cloudtasks/apiv2beta2/cloud_tasks_client_example_test.go b/cloudtasks/apiv2beta2/cloud_tasks_client_example_test.go index 64ac79c47f57..5e660258de86 100644 --- a/cloudtasks/apiv2beta2/cloud_tasks_client_example_test.go +++ b/cloudtasks/apiv2beta2/cloud_tasks_client_example_test.go @@ -332,6 +332,12 @@ func ExampleClient_ListQueues() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListQueuesResponse) } } @@ -363,6 +369,12 @@ func ExampleClient_ListTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListTasksResponse) } } @@ -642,5 +654,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/cloudtasks/apiv2beta3/cloud_tasks_client_example_test.go b/cloudtasks/apiv2beta3/cloud_tasks_client_example_test.go index 3492dcb3e8f5..77f5fde204af 100644 --- a/cloudtasks/apiv2beta3/cloud_tasks_client_example_test.go +++ b/cloudtasks/apiv2beta3/cloud_tasks_client_example_test.go @@ -259,6 +259,12 @@ func ExampleClient_ListQueues() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListQueuesResponse) } } @@ -290,6 +296,12 @@ func ExampleClient_ListTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListTasksResponse) } } @@ -521,5 +533,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/commerce/consumer/procurement/apiv1/consumer_procurement_client_example_test.go b/commerce/consumer/procurement/apiv1/consumer_procurement_client_example_test.go index dda471682cec..3ee85d9085b8 100644 --- a/commerce/consumer/procurement/apiv1/consumer_procurement_client_example_test.go +++ b/commerce/consumer/procurement/apiv1/consumer_procurement_client_example_test.go @@ -112,6 +112,12 @@ func ExampleConsumerProcurementClient_ListOrders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*procurementpb.ListOrdersResponse) } } diff --git a/compute/apiv1/accelerator_types_client_example_test.go b/compute/apiv1/accelerator_types_client_example_test.go index caed0bf735ae..009849179429 100644 --- a/compute/apiv1/accelerator_types_client_example_test.go +++ b/compute/apiv1/accelerator_types_client_example_test.go @@ -69,6 +69,12 @@ func ExampleAcceleratorTypesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AcceleratorTypeAggregatedList) } } @@ -125,5 +131,11 @@ func ExampleAcceleratorTypesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AcceleratorTypeList) } } diff --git a/compute/apiv1/addresses_client_example_test.go b/compute/apiv1/addresses_client_example_test.go index ec23c0929679..98ed914fc24a 100644 --- a/compute/apiv1/addresses_client_example_test.go +++ b/compute/apiv1/addresses_client_example_test.go @@ -69,6 +69,12 @@ func ExampleAddressesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AddressAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleAddressesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AddressList) } } diff --git a/compute/apiv1/autoscalers_client_example_test.go b/compute/apiv1/autoscalers_client_example_test.go index 4623724965d9..b0a94ed63502 100644 --- a/compute/apiv1/autoscalers_client_example_test.go +++ b/compute/apiv1/autoscalers_client_example_test.go @@ -69,6 +69,12 @@ func ExampleAutoscalersClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AutoscalerAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleAutoscalersClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AutoscalerList) } } diff --git a/compute/apiv1/backend_buckets_client_example_test.go b/compute/apiv1/backend_buckets_client_example_test.go index abcb83b14ccf..5c951ae1f64d 100644 --- a/compute/apiv1/backend_buckets_client_example_test.go +++ b/compute/apiv1/backend_buckets_client_example_test.go @@ -231,6 +231,12 @@ func ExampleBackendBucketsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendBucketList) } } diff --git a/compute/apiv1/backend_services_client_example_test.go b/compute/apiv1/backend_services_client_example_test.go index aad6e8a82e26..9647c51baaf5 100644 --- a/compute/apiv1/backend_services_client_example_test.go +++ b/compute/apiv1/backend_services_client_example_test.go @@ -97,6 +97,12 @@ func ExampleBackendServicesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceAggregatedList) } } @@ -287,6 +293,12 @@ func ExampleBackendServicesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceList) } } @@ -318,6 +330,12 @@ func ExampleBackendServicesClient_ListUsable() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceListUsable) } } diff --git a/compute/apiv1/disk_types_client_example_test.go b/compute/apiv1/disk_types_client_example_test.go index 90a1d9245290..c7bb307f197a 100644 --- a/compute/apiv1/disk_types_client_example_test.go +++ b/compute/apiv1/disk_types_client_example_test.go @@ -69,6 +69,12 @@ func ExampleDiskTypesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskTypeAggregatedList) } } @@ -125,5 +131,11 @@ func ExampleDiskTypesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskTypeList) } } diff --git a/compute/apiv1/disks_client_example_test.go b/compute/apiv1/disks_client_example_test.go index f415f307ab00..281841fe37d1 100644 --- a/compute/apiv1/disks_client_example_test.go +++ b/compute/apiv1/disks_client_example_test.go @@ -97,6 +97,12 @@ func ExampleDisksClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskAggregatedList) } } @@ -290,6 +296,12 @@ func ExampleDisksClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskList) } } diff --git a/compute/apiv1/doc.go b/compute/apiv1/doc.go index 7763c2177f3c..c2e61b3b4b86 100755 --- a/compute/apiv1/doc.go +++ b/compute/apiv1/doc.go @@ -80,6 +80,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*computepb.AcceleratorTypeAggregatedList) // } // // # Use of Context diff --git a/compute/apiv1/external_vpn_gateways_client_example_test.go b/compute/apiv1/external_vpn_gateways_client_example_test.go index abf5272a851d..38317e0e36a2 100644 --- a/compute/apiv1/external_vpn_gateways_client_example_test.go +++ b/compute/apiv1/external_vpn_gateways_client_example_test.go @@ -150,6 +150,12 @@ func ExampleExternalVpnGatewaysClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ExternalVpnGatewayList) } } diff --git a/compute/apiv1/firewall_policies_client_example_test.go b/compute/apiv1/firewall_policies_client_example_test.go index 2cc8f9205235..ab8f9e198f97 100644 --- a/compute/apiv1/firewall_policies_client_example_test.go +++ b/compute/apiv1/firewall_policies_client_example_test.go @@ -309,6 +309,12 @@ func ExampleFirewallPoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallPolicyList) } } diff --git a/compute/apiv1/firewalls_client_example_test.go b/compute/apiv1/firewalls_client_example_test.go index 0d886ce46da8..967a4ea5d3d4 100644 --- a/compute/apiv1/firewalls_client_example_test.go +++ b/compute/apiv1/firewalls_client_example_test.go @@ -150,6 +150,12 @@ func ExampleFirewallsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallList) } } diff --git a/compute/apiv1/forwarding_rules_client_example_test.go b/compute/apiv1/forwarding_rules_client_example_test.go index 52b79b38e33b..1a328e18b4c2 100644 --- a/compute/apiv1/forwarding_rules_client_example_test.go +++ b/compute/apiv1/forwarding_rules_client_example_test.go @@ -69,6 +69,12 @@ func ExampleForwardingRulesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ForwardingRuleAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleForwardingRulesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ForwardingRuleList) } } diff --git a/compute/apiv1/global_addresses_client_example_test.go b/compute/apiv1/global_addresses_client_example_test.go index 29dc22ef178f..95e6449dca41 100644 --- a/compute/apiv1/global_addresses_client_example_test.go +++ b/compute/apiv1/global_addresses_client_example_test.go @@ -150,6 +150,12 @@ func ExampleGlobalAddressesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AddressList) } } diff --git a/compute/apiv1/global_forwarding_rules_client_example_test.go b/compute/apiv1/global_forwarding_rules_client_example_test.go index 94258a5b82a7..086bda728999 100644 --- a/compute/apiv1/global_forwarding_rules_client_example_test.go +++ b/compute/apiv1/global_forwarding_rules_client_example_test.go @@ -150,6 +150,12 @@ func ExampleGlobalForwardingRulesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ForwardingRuleList) } } diff --git a/compute/apiv1/global_network_endpoint_groups_client_example_test.go b/compute/apiv1/global_network_endpoint_groups_client_example_test.go index a6c74b51543a..be0e9d7b282a 100644 --- a/compute/apiv1/global_network_endpoint_groups_client_example_test.go +++ b/compute/apiv1/global_network_endpoint_groups_client_example_test.go @@ -206,6 +206,12 @@ func ExampleGlobalNetworkEndpointGroupsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupList) } } @@ -237,5 +243,11 @@ func ExampleGlobalNetworkEndpointGroupsClient_ListNetworkEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupsListNetworkEndpoints) } } diff --git a/compute/apiv1/global_operations_client_example_test.go b/compute/apiv1/global_operations_client_example_test.go index 5c98d54b30a0..7ccbb3762ba5 100644 --- a/compute/apiv1/global_operations_client_example_test.go +++ b/compute/apiv1/global_operations_client_example_test.go @@ -69,6 +69,12 @@ func ExampleGlobalOperationsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationAggregatedList) } } @@ -150,6 +156,12 @@ func ExampleGlobalOperationsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/compute/apiv1/global_organization_operations_client_example_test.go b/compute/apiv1/global_organization_operations_client_example_test.go index e4b254be9f31..4067ce7e2b38 100644 --- a/compute/apiv1/global_organization_operations_client_example_test.go +++ b/compute/apiv1/global_organization_operations_client_example_test.go @@ -119,5 +119,11 @@ func ExampleGlobalOrganizationOperationsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/compute/apiv1/global_public_delegated_prefixes_client_example_test.go b/compute/apiv1/global_public_delegated_prefixes_client_example_test.go index 280c05f08b73..1f7fe609ad23 100644 --- a/compute/apiv1/global_public_delegated_prefixes_client_example_test.go +++ b/compute/apiv1/global_public_delegated_prefixes_client_example_test.go @@ -150,6 +150,12 @@ func ExampleGlobalPublicDelegatedPrefixesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicDelegatedPrefixList) } } diff --git a/compute/apiv1/health_checks_client_example_test.go b/compute/apiv1/health_checks_client_example_test.go index 93cb22ad85b8..8856cb5e4bfb 100644 --- a/compute/apiv1/health_checks_client_example_test.go +++ b/compute/apiv1/health_checks_client_example_test.go @@ -69,6 +69,12 @@ func ExampleHealthChecksClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthChecksAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleHealthChecksClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthCheckList) } } diff --git a/compute/apiv1/images_client_example_test.go b/compute/apiv1/images_client_example_test.go index 8f14794b23df..32f02c54d42e 100644 --- a/compute/apiv1/images_client_example_test.go +++ b/compute/apiv1/images_client_example_test.go @@ -228,6 +228,12 @@ func ExampleImagesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ImageList) } } diff --git a/compute/apiv1/instance_group_managers_client_example_test.go b/compute/apiv1/instance_group_managers_client_example_test.go index 70b828b3cabd..6eff99fcb5a7 100644 --- a/compute/apiv1/instance_group_managers_client_example_test.go +++ b/compute/apiv1/instance_group_managers_client_example_test.go @@ -97,6 +97,12 @@ func ExampleInstanceGroupManagersClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagerAggregatedList) } } @@ -321,6 +327,12 @@ func ExampleInstanceGroupManagersClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagerList) } } @@ -352,6 +364,12 @@ func ExampleInstanceGroupManagersClient_ListErrors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagersListErrorsResponse) } } @@ -383,6 +401,12 @@ func ExampleInstanceGroupManagersClient_ListManagedInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagersListManagedInstancesResponse) } } @@ -414,6 +438,12 @@ func ExampleInstanceGroupManagersClient_ListPerInstanceConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagersListPerInstanceConfigsResp) } } diff --git a/compute/apiv1/instance_groups_client_example_test.go b/compute/apiv1/instance_groups_client_example_test.go index c50251af0877..9716ff960bef 100644 --- a/compute/apiv1/instance_groups_client_example_test.go +++ b/compute/apiv1/instance_groups_client_example_test.go @@ -97,6 +97,12 @@ func ExampleInstanceGroupsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupAggregatedList) } } @@ -209,6 +215,12 @@ func ExampleInstanceGroupsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupList) } } @@ -240,6 +252,12 @@ func ExampleInstanceGroupsClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupsListInstances) } } diff --git a/compute/apiv1/instance_templates_client_example_test.go b/compute/apiv1/instance_templates_client_example_test.go index ee34e207f5bd..b422c7eca15d 100644 --- a/compute/apiv1/instance_templates_client_example_test.go +++ b/compute/apiv1/instance_templates_client_example_test.go @@ -69,6 +69,12 @@ func ExampleInstanceTemplatesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceTemplateAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleInstanceTemplatesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceTemplateList) } } diff --git a/compute/apiv1/instances_client_example_test.go b/compute/apiv1/instances_client_example_test.go index c285014ef7e4..23cfd79051a6 100644 --- a/compute/apiv1/instances_client_example_test.go +++ b/compute/apiv1/instances_client_example_test.go @@ -125,6 +125,12 @@ func ExampleInstancesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceAggregatedList) } } @@ -499,6 +505,12 @@ func ExampleInstancesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceList) } } @@ -530,6 +542,12 @@ func ExampleInstancesClient_ListReferrers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceListReferrers) } } diff --git a/compute/apiv1/instant_snapshots_client_example_test.go b/compute/apiv1/instant_snapshots_client_example_test.go index 7ee3715b0579..9378d89e0d43 100644 --- a/compute/apiv1/instant_snapshots_client_example_test.go +++ b/compute/apiv1/instant_snapshots_client_example_test.go @@ -69,6 +69,12 @@ func ExampleInstantSnapshotsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstantSnapshotAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleInstantSnapshotsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstantSnapshotList) } } diff --git a/compute/apiv1/interconnect_attachments_client_example_test.go b/compute/apiv1/interconnect_attachments_client_example_test.go index 8448b3034d5a..2a22c66efbab 100644 --- a/compute/apiv1/interconnect_attachments_client_example_test.go +++ b/compute/apiv1/interconnect_attachments_client_example_test.go @@ -69,6 +69,12 @@ func ExampleInterconnectAttachmentsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectAttachmentAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleInterconnectAttachmentsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectAttachmentList) } } diff --git a/compute/apiv1/interconnect_locations_client_example_test.go b/compute/apiv1/interconnect_locations_client_example_test.go index 88231e0710b9..21670a12272b 100644 --- a/compute/apiv1/interconnect_locations_client_example_test.go +++ b/compute/apiv1/interconnect_locations_client_example_test.go @@ -94,5 +94,11 @@ func ExampleInterconnectLocationsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectLocationList) } } diff --git a/compute/apiv1/interconnect_remote_locations_client_example_test.go b/compute/apiv1/interconnect_remote_locations_client_example_test.go index 52e2008f50a9..ca516dc65971 100644 --- a/compute/apiv1/interconnect_remote_locations_client_example_test.go +++ b/compute/apiv1/interconnect_remote_locations_client_example_test.go @@ -94,5 +94,11 @@ func ExampleInterconnectRemoteLocationsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectRemoteLocationList) } } diff --git a/compute/apiv1/interconnects_client_example_test.go b/compute/apiv1/interconnects_client_example_test.go index 14563cc8ef3b..da61d8a4829f 100644 --- a/compute/apiv1/interconnects_client_example_test.go +++ b/compute/apiv1/interconnects_client_example_test.go @@ -200,6 +200,12 @@ func ExampleInterconnectsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectList) } } diff --git a/compute/apiv1/licenses_client_example_test.go b/compute/apiv1/licenses_client_example_test.go index d0623473a393..5b50e10b243f 100644 --- a/compute/apiv1/licenses_client_example_test.go +++ b/compute/apiv1/licenses_client_example_test.go @@ -175,6 +175,12 @@ func ExampleLicensesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.LicensesListResponse) } } diff --git a/compute/apiv1/machine_images_client_example_test.go b/compute/apiv1/machine_images_client_example_test.go index 43d95e89d608..c87a0934a0bc 100644 --- a/compute/apiv1/machine_images_client_example_test.go +++ b/compute/apiv1/machine_images_client_example_test.go @@ -175,6 +175,12 @@ func ExampleMachineImagesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.MachineImageList) } } diff --git a/compute/apiv1/machine_types_client_example_test.go b/compute/apiv1/machine_types_client_example_test.go index 2b109ba36291..9c7fc3b29de5 100644 --- a/compute/apiv1/machine_types_client_example_test.go +++ b/compute/apiv1/machine_types_client_example_test.go @@ -69,6 +69,12 @@ func ExampleMachineTypesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.MachineTypeAggregatedList) } } @@ -125,5 +131,11 @@ func ExampleMachineTypesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.MachineTypeList) } } diff --git a/compute/apiv1/network_attachments_client_example_test.go b/compute/apiv1/network_attachments_client_example_test.go index 9b362a2e0947..d7b102056863 100644 --- a/compute/apiv1/network_attachments_client_example_test.go +++ b/compute/apiv1/network_attachments_client_example_test.go @@ -69,6 +69,12 @@ func ExampleNetworkAttachmentsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkAttachmentAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleNetworkAttachmentsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkAttachmentList) } } diff --git a/compute/apiv1/network_edge_security_services_client_example_test.go b/compute/apiv1/network_edge_security_services_client_example_test.go index 7c538194f4f1..1910afacbc0c 100644 --- a/compute/apiv1/network_edge_security_services_client_example_test.go +++ b/compute/apiv1/network_edge_security_services_client_example_test.go @@ -69,6 +69,12 @@ func ExampleNetworkEdgeSecurityServicesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEdgeSecurityServiceAggregatedList) } } diff --git a/compute/apiv1/network_endpoint_groups_client_example_test.go b/compute/apiv1/network_endpoint_groups_client_example_test.go index f40b4ff1626f..bef6102a6b8e 100644 --- a/compute/apiv1/network_endpoint_groups_client_example_test.go +++ b/compute/apiv1/network_endpoint_groups_client_example_test.go @@ -69,6 +69,12 @@ func ExampleNetworkEndpointGroupsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupAggregatedList) } } @@ -237,6 +243,12 @@ func ExampleNetworkEndpointGroupsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupList) } } @@ -268,6 +280,12 @@ func ExampleNetworkEndpointGroupsClient_ListNetworkEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupsListNetworkEndpoints) } } diff --git a/compute/apiv1/network_firewall_policies_client_example_test.go b/compute/apiv1/network_firewall_policies_client_example_test.go index 17a1d8a32228..ed85d0848288 100644 --- a/compute/apiv1/network_firewall_policies_client_example_test.go +++ b/compute/apiv1/network_firewall_policies_client_example_test.go @@ -309,6 +309,12 @@ func ExampleNetworkFirewallPoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallPolicyList) } } diff --git a/compute/apiv1/networks_client_example_test.go b/compute/apiv1/networks_client_example_test.go index ae03286c96e1..ab0c1d7f4738 100644 --- a/compute/apiv1/networks_client_example_test.go +++ b/compute/apiv1/networks_client_example_test.go @@ -203,6 +203,12 @@ func ExampleNetworksClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkList) } } @@ -234,6 +240,12 @@ func ExampleNetworksClient_ListPeeringRoutes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ExchangedPeeringRoutesList) } } diff --git a/compute/apiv1/node_groups_client_example_test.go b/compute/apiv1/node_groups_client_example_test.go index f73128e273a0..ef5db6a1c122 100644 --- a/compute/apiv1/node_groups_client_example_test.go +++ b/compute/apiv1/node_groups_client_example_test.go @@ -97,6 +97,12 @@ func ExampleNodeGroupsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeGroupAggregatedList) } } @@ -262,6 +268,12 @@ func ExampleNodeGroupsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeGroupList) } } @@ -293,6 +305,12 @@ func ExampleNodeGroupsClient_ListNodes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeGroupsListNodes) } } diff --git a/compute/apiv1/node_templates_client_example_test.go b/compute/apiv1/node_templates_client_example_test.go index 5614beb9de16..851735c482e9 100644 --- a/compute/apiv1/node_templates_client_example_test.go +++ b/compute/apiv1/node_templates_client_example_test.go @@ -69,6 +69,12 @@ func ExampleNodeTemplatesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTemplateAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleNodeTemplatesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTemplateList) } } diff --git a/compute/apiv1/node_types_client_example_test.go b/compute/apiv1/node_types_client_example_test.go index 0aa04077be5e..a345b4372a10 100644 --- a/compute/apiv1/node_types_client_example_test.go +++ b/compute/apiv1/node_types_client_example_test.go @@ -69,6 +69,12 @@ func ExampleNodeTypesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTypeAggregatedList) } } @@ -125,5 +131,11 @@ func ExampleNodeTypesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTypeList) } } diff --git a/compute/apiv1/packet_mirrorings_client_example_test.go b/compute/apiv1/packet_mirrorings_client_example_test.go index bd7af3531bb6..3691fc345130 100644 --- a/compute/apiv1/packet_mirrorings_client_example_test.go +++ b/compute/apiv1/packet_mirrorings_client_example_test.go @@ -69,6 +69,12 @@ func ExamplePacketMirroringsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PacketMirroringAggregatedList) } } @@ -181,6 +187,12 @@ func ExamplePacketMirroringsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PacketMirroringList) } } diff --git a/compute/apiv1/projects_client_example_test.go b/compute/apiv1/projects_client_example_test.go index 790c7a4e4e7c..2b2d7afa11c5 100644 --- a/compute/apiv1/projects_client_example_test.go +++ b/compute/apiv1/projects_client_example_test.go @@ -231,6 +231,12 @@ func ExampleProjectsClient_GetXpnResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ProjectsGetXpnResources) } } @@ -262,6 +268,12 @@ func ExampleProjectsClient_ListXpnHosts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.XpnHostList) } } diff --git a/compute/apiv1/public_advertised_prefixes_client_example_test.go b/compute/apiv1/public_advertised_prefixes_client_example_test.go index c2ed3d560f00..38d449d4c09d 100644 --- a/compute/apiv1/public_advertised_prefixes_client_example_test.go +++ b/compute/apiv1/public_advertised_prefixes_client_example_test.go @@ -178,6 +178,12 @@ func ExamplePublicAdvertisedPrefixesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicAdvertisedPrefixList) } } diff --git a/compute/apiv1/public_delegated_prefixes_client_example_test.go b/compute/apiv1/public_delegated_prefixes_client_example_test.go index b995f3675592..1ad1e8c91132 100644 --- a/compute/apiv1/public_delegated_prefixes_client_example_test.go +++ b/compute/apiv1/public_delegated_prefixes_client_example_test.go @@ -69,6 +69,12 @@ func ExamplePublicDelegatedPrefixesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicDelegatedPrefixAggregatedList) } } @@ -209,6 +215,12 @@ func ExamplePublicDelegatedPrefixesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicDelegatedPrefixList) } } diff --git a/compute/apiv1/region_autoscalers_client_example_test.go b/compute/apiv1/region_autoscalers_client_example_test.go index 77a34bceab85..37f3c2e2afc1 100644 --- a/compute/apiv1/region_autoscalers_client_example_test.go +++ b/compute/apiv1/region_autoscalers_client_example_test.go @@ -150,6 +150,12 @@ func ExampleRegionAutoscalersClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionAutoscalerList) } } diff --git a/compute/apiv1/region_backend_services_client_example_test.go b/compute/apiv1/region_backend_services_client_example_test.go index 778f9fa19f2e..e3cbda18aef2 100644 --- a/compute/apiv1/region_backend_services_client_example_test.go +++ b/compute/apiv1/region_backend_services_client_example_test.go @@ -200,6 +200,12 @@ func ExampleRegionBackendServicesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceList) } } @@ -231,6 +237,12 @@ func ExampleRegionBackendServicesClient_ListUsable() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceListUsable) } } diff --git a/compute/apiv1/region_commitments_client_example_test.go b/compute/apiv1/region_commitments_client_example_test.go index 0dca7de02a0f..6e37b536f6e5 100644 --- a/compute/apiv1/region_commitments_client_example_test.go +++ b/compute/apiv1/region_commitments_client_example_test.go @@ -69,6 +69,12 @@ func ExampleRegionCommitmentsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.CommitmentAggregatedList) } } @@ -153,6 +159,12 @@ func ExampleRegionCommitmentsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.CommitmentList) } } diff --git a/compute/apiv1/region_disk_types_client_example_test.go b/compute/apiv1/region_disk_types_client_example_test.go index 5edc9737ac42..e94db4f949bf 100644 --- a/compute/apiv1/region_disk_types_client_example_test.go +++ b/compute/apiv1/region_disk_types_client_example_test.go @@ -94,5 +94,11 @@ func ExampleRegionDiskTypesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionDiskTypeList) } } diff --git a/compute/apiv1/region_disks_client_example_test.go b/compute/apiv1/region_disks_client_example_test.go index 023f8a64ced5..9242b966c83c 100644 --- a/compute/apiv1/region_disks_client_example_test.go +++ b/compute/apiv1/region_disks_client_example_test.go @@ -259,6 +259,12 @@ func ExampleRegionDisksClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskList) } } diff --git a/compute/apiv1/region_health_check_services_client_example_test.go b/compute/apiv1/region_health_check_services_client_example_test.go index 068d0d73ba6b..737c7884c170 100644 --- a/compute/apiv1/region_health_check_services_client_example_test.go +++ b/compute/apiv1/region_health_check_services_client_example_test.go @@ -150,6 +150,12 @@ func ExampleRegionHealthCheckServicesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthCheckServicesList) } } diff --git a/compute/apiv1/region_health_checks_client_example_test.go b/compute/apiv1/region_health_checks_client_example_test.go index 0ba88b3cf16b..d7f964278940 100644 --- a/compute/apiv1/region_health_checks_client_example_test.go +++ b/compute/apiv1/region_health_checks_client_example_test.go @@ -150,6 +150,12 @@ func ExampleRegionHealthChecksClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthCheckList) } } diff --git a/compute/apiv1/region_instance_group_managers_client_example_test.go b/compute/apiv1/region_instance_group_managers_client_example_test.go index 37eac711b619..8ecd665f3448 100644 --- a/compute/apiv1/region_instance_group_managers_client_example_test.go +++ b/compute/apiv1/region_instance_group_managers_client_example_test.go @@ -290,6 +290,12 @@ func ExampleRegionInstanceGroupManagersClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagerList) } } @@ -321,6 +327,12 @@ func ExampleRegionInstanceGroupManagersClient_ListErrors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagersListErrorsResponse) } } @@ -352,6 +364,12 @@ func ExampleRegionInstanceGroupManagersClient_ListManagedInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagersListInstancesResponse) } } @@ -383,6 +401,12 @@ func ExampleRegionInstanceGroupManagersClient_ListPerInstanceConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagersListInstanceConfigsResp) } } diff --git a/compute/apiv1/region_instance_groups_client_example_test.go b/compute/apiv1/region_instance_groups_client_example_test.go index 42194fab1992..6bdd043146db 100644 --- a/compute/apiv1/region_instance_groups_client_example_test.go +++ b/compute/apiv1/region_instance_groups_client_example_test.go @@ -94,6 +94,12 @@ func ExampleRegionInstanceGroupsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupList) } } @@ -125,6 +131,12 @@ func ExampleRegionInstanceGroupsClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupsListInstances) } } diff --git a/compute/apiv1/region_instance_templates_client_example_test.go b/compute/apiv1/region_instance_templates_client_example_test.go index 1476daa3ed75..14f4977501b4 100644 --- a/compute/apiv1/region_instance_templates_client_example_test.go +++ b/compute/apiv1/region_instance_templates_client_example_test.go @@ -150,5 +150,11 @@ func ExampleRegionInstanceTemplatesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceTemplateList) } } diff --git a/compute/apiv1/region_instant_snapshots_client_example_test.go b/compute/apiv1/region_instant_snapshots_client_example_test.go index 4c3e28d52de1..a8cc6ee64550 100644 --- a/compute/apiv1/region_instant_snapshots_client_example_test.go +++ b/compute/apiv1/region_instant_snapshots_client_example_test.go @@ -175,6 +175,12 @@ func ExampleRegionInstantSnapshotsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstantSnapshotList) } } diff --git a/compute/apiv1/region_network_endpoint_groups_client_example_test.go b/compute/apiv1/region_network_endpoint_groups_client_example_test.go index 8a78fcc4f6da..b2403f7f2ffe 100644 --- a/compute/apiv1/region_network_endpoint_groups_client_example_test.go +++ b/compute/apiv1/region_network_endpoint_groups_client_example_test.go @@ -206,6 +206,12 @@ func ExampleRegionNetworkEndpointGroupsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupList) } } @@ -237,5 +243,11 @@ func ExampleRegionNetworkEndpointGroupsClient_ListNetworkEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupsListNetworkEndpoints) } } diff --git a/compute/apiv1/region_network_firewall_policies_client_example_test.go b/compute/apiv1/region_network_firewall_policies_client_example_test.go index 2727e93e3277..2a01ad128a19 100644 --- a/compute/apiv1/region_network_firewall_policies_client_example_test.go +++ b/compute/apiv1/region_network_firewall_policies_client_example_test.go @@ -334,6 +334,12 @@ func ExampleRegionNetworkFirewallPoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallPolicyList) } } diff --git a/compute/apiv1/region_notification_endpoints_client_example_test.go b/compute/apiv1/region_notification_endpoints_client_example_test.go index 91bea06fe34a..1bf625ea014e 100644 --- a/compute/apiv1/region_notification_endpoints_client_example_test.go +++ b/compute/apiv1/region_notification_endpoints_client_example_test.go @@ -150,5 +150,11 @@ func ExampleRegionNotificationEndpointsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NotificationEndpointList) } } diff --git a/compute/apiv1/region_operations_client_example_test.go b/compute/apiv1/region_operations_client_example_test.go index 8a459af17f70..050c0fb8ff57 100644 --- a/compute/apiv1/region_operations_client_example_test.go +++ b/compute/apiv1/region_operations_client_example_test.go @@ -119,6 +119,12 @@ func ExampleRegionOperationsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/compute/apiv1/region_security_policies_client_example_test.go b/compute/apiv1/region_security_policies_client_example_test.go index 3cef067f64e1..969ca8f7db60 100644 --- a/compute/apiv1/region_security_policies_client_example_test.go +++ b/compute/apiv1/region_security_policies_client_example_test.go @@ -203,6 +203,12 @@ func ExampleRegionSecurityPoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SecurityPolicyList) } } diff --git a/compute/apiv1/region_ssl_certificates_client_example_test.go b/compute/apiv1/region_ssl_certificates_client_example_test.go index 906b24f6b9b3..85d2cd6c9397 100644 --- a/compute/apiv1/region_ssl_certificates_client_example_test.go +++ b/compute/apiv1/region_ssl_certificates_client_example_test.go @@ -150,5 +150,11 @@ func ExampleRegionSslCertificatesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslCertificateList) } } diff --git a/compute/apiv1/region_ssl_policies_client_example_test.go b/compute/apiv1/region_ssl_policies_client_example_test.go index ca8e7f9272cc..334d93bcccf4 100644 --- a/compute/apiv1/region_ssl_policies_client_example_test.go +++ b/compute/apiv1/region_ssl_policies_client_example_test.go @@ -150,6 +150,12 @@ func ExampleRegionSslPoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslPoliciesList) } } diff --git a/compute/apiv1/region_target_http_proxies_client_example_test.go b/compute/apiv1/region_target_http_proxies_client_example_test.go index 803bd7191eea..4815fc2667ac 100644 --- a/compute/apiv1/region_target_http_proxies_client_example_test.go +++ b/compute/apiv1/region_target_http_proxies_client_example_test.go @@ -150,6 +150,12 @@ func ExampleRegionTargetHttpProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpProxyList) } } diff --git a/compute/apiv1/region_target_https_proxies_client_example_test.go b/compute/apiv1/region_target_https_proxies_client_example_test.go index 55f667159c96..0fc2341d92c0 100644 --- a/compute/apiv1/region_target_https_proxies_client_example_test.go +++ b/compute/apiv1/region_target_https_proxies_client_example_test.go @@ -150,6 +150,12 @@ func ExampleRegionTargetHttpsProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpsProxyList) } } diff --git a/compute/apiv1/region_target_tcp_proxies_client_example_test.go b/compute/apiv1/region_target_tcp_proxies_client_example_test.go index 2d7c406fd9d7..efb5cc7a9258 100644 --- a/compute/apiv1/region_target_tcp_proxies_client_example_test.go +++ b/compute/apiv1/region_target_tcp_proxies_client_example_test.go @@ -150,5 +150,11 @@ func ExampleRegionTargetTcpProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetTcpProxyList) } } diff --git a/compute/apiv1/region_url_maps_client_example_test.go b/compute/apiv1/region_url_maps_client_example_test.go index a602857842cb..41df8f69253d 100644 --- a/compute/apiv1/region_url_maps_client_example_test.go +++ b/compute/apiv1/region_url_maps_client_example_test.go @@ -150,6 +150,12 @@ func ExampleRegionUrlMapsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UrlMapList) } } diff --git a/compute/apiv1/region_zones_client_example_test.go b/compute/apiv1/region_zones_client_example_test.go index edadebdb422e..85d5c2a0cb4a 100644 --- a/compute/apiv1/region_zones_client_example_test.go +++ b/compute/apiv1/region_zones_client_example_test.go @@ -69,5 +69,11 @@ func ExampleRegionZonesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ZoneList) } } diff --git a/compute/apiv1/regions_client_example_test.go b/compute/apiv1/regions_client_example_test.go index e3d567c2bc60..0e8e0282fe61 100644 --- a/compute/apiv1/regions_client_example_test.go +++ b/compute/apiv1/regions_client_example_test.go @@ -94,5 +94,11 @@ func ExampleRegionsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionList) } } diff --git a/compute/apiv1/reservations_client_example_test.go b/compute/apiv1/reservations_client_example_test.go index f3e403b3f85e..871b5601d02c 100644 --- a/compute/apiv1/reservations_client_example_test.go +++ b/compute/apiv1/reservations_client_example_test.go @@ -69,6 +69,12 @@ func ExampleReservationsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ReservationAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleReservationsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ReservationList) } } diff --git a/compute/apiv1/resource_policies_client_example_test.go b/compute/apiv1/resource_policies_client_example_test.go index 309ab46c77f9..42d8ee63ac97 100644 --- a/compute/apiv1/resource_policies_client_example_test.go +++ b/compute/apiv1/resource_policies_client_example_test.go @@ -69,6 +69,12 @@ func ExampleResourcePoliciesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ResourcePolicyAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleResourcePoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ResourcePolicyList) } } diff --git a/compute/apiv1/routers_client_example_test.go b/compute/apiv1/routers_client_example_test.go index 057ee046941e..c629b769c324 100644 --- a/compute/apiv1/routers_client_example_test.go +++ b/compute/apiv1/routers_client_example_test.go @@ -69,6 +69,12 @@ func ExampleRoutersClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RouterAggregatedList) } } @@ -178,6 +184,12 @@ func ExampleRoutersClient_GetNatMappingInfo() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VmEndpointNatMappingsList) } } @@ -262,6 +274,12 @@ func ExampleRoutersClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RouterList) } } diff --git a/compute/apiv1/routes_client_example_test.go b/compute/apiv1/routes_client_example_test.go index 4a2a68eee7d9..c048299b46e9 100644 --- a/compute/apiv1/routes_client_example_test.go +++ b/compute/apiv1/routes_client_example_test.go @@ -150,5 +150,11 @@ func ExampleRoutesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RouteList) } } diff --git a/compute/apiv1/security_policies_client_example_test.go b/compute/apiv1/security_policies_client_example_test.go index adff358ba77f..e2716a80c408 100644 --- a/compute/apiv1/security_policies_client_example_test.go +++ b/compute/apiv1/security_policies_client_example_test.go @@ -97,6 +97,12 @@ func ExampleSecurityPoliciesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SecurityPoliciesAggregatedList) } } @@ -234,6 +240,12 @@ func ExampleSecurityPoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SecurityPolicyList) } } diff --git a/compute/apiv1/service_attachments_client_example_test.go b/compute/apiv1/service_attachments_client_example_test.go index fc0e7e6199c2..9255ac5fdc08 100644 --- a/compute/apiv1/service_attachments_client_example_test.go +++ b/compute/apiv1/service_attachments_client_example_test.go @@ -69,6 +69,12 @@ func ExampleServiceAttachmentsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ServiceAttachmentAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleServiceAttachmentsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ServiceAttachmentList) } } diff --git a/compute/apiv1/snapshots_client_example_test.go b/compute/apiv1/snapshots_client_example_test.go index 47e1838b1cdb..4ced1e24638d 100644 --- a/compute/apiv1/snapshots_client_example_test.go +++ b/compute/apiv1/snapshots_client_example_test.go @@ -175,6 +175,12 @@ func ExampleSnapshotsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SnapshotList) } } diff --git a/compute/apiv1/ssl_certificates_client_example_test.go b/compute/apiv1/ssl_certificates_client_example_test.go index 8d5f7517b64d..b2099060be12 100644 --- a/compute/apiv1/ssl_certificates_client_example_test.go +++ b/compute/apiv1/ssl_certificates_client_example_test.go @@ -69,6 +69,12 @@ func ExampleSslCertificatesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslCertificateAggregatedList) } } @@ -181,5 +187,11 @@ func ExampleSslCertificatesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslCertificateList) } } diff --git a/compute/apiv1/ssl_policies_client_example_test.go b/compute/apiv1/ssl_policies_client_example_test.go index fc7a655ec9b8..dfa7300ee96b 100644 --- a/compute/apiv1/ssl_policies_client_example_test.go +++ b/compute/apiv1/ssl_policies_client_example_test.go @@ -69,6 +69,12 @@ func ExampleSslPoliciesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslPoliciesAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleSslPoliciesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslPoliciesList) } } diff --git a/compute/apiv1/subnetworks_client_example_test.go b/compute/apiv1/subnetworks_client_example_test.go index ae79f565b36f..b1e21184f8fc 100644 --- a/compute/apiv1/subnetworks_client_example_test.go +++ b/compute/apiv1/subnetworks_client_example_test.go @@ -69,6 +69,12 @@ func ExampleSubnetworksClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SubnetworkAggregatedList) } } @@ -234,6 +240,12 @@ func ExampleSubnetworksClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SubnetworkList) } } @@ -265,6 +277,12 @@ func ExampleSubnetworksClient_ListUsable() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UsableSubnetworksAggregatedList) } } diff --git a/compute/apiv1/target_grpc_proxies_client_example_test.go b/compute/apiv1/target_grpc_proxies_client_example_test.go index 711d301aede6..44fdba1e2197 100644 --- a/compute/apiv1/target_grpc_proxies_client_example_test.go +++ b/compute/apiv1/target_grpc_proxies_client_example_test.go @@ -150,6 +150,12 @@ func ExampleTargetGrpcProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetGrpcProxyList) } } diff --git a/compute/apiv1/target_http_proxies_client_example_test.go b/compute/apiv1/target_http_proxies_client_example_test.go index 7e93b77c5c81..f24893f24d69 100644 --- a/compute/apiv1/target_http_proxies_client_example_test.go +++ b/compute/apiv1/target_http_proxies_client_example_test.go @@ -69,6 +69,12 @@ func ExampleTargetHttpProxiesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpProxyAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleTargetHttpProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpProxyList) } } diff --git a/compute/apiv1/target_https_proxies_client_example_test.go b/compute/apiv1/target_https_proxies_client_example_test.go index 9cdaa7283e11..9924051f2095 100644 --- a/compute/apiv1/target_https_proxies_client_example_test.go +++ b/compute/apiv1/target_https_proxies_client_example_test.go @@ -69,6 +69,12 @@ func ExampleTargetHttpsProxiesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpsProxyAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleTargetHttpsProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpsProxyList) } } diff --git a/compute/apiv1/target_instances_client_example_test.go b/compute/apiv1/target_instances_client_example_test.go index 5ff466d2e02d..cb28fb9e082a 100644 --- a/compute/apiv1/target_instances_client_example_test.go +++ b/compute/apiv1/target_instances_client_example_test.go @@ -69,6 +69,12 @@ func ExampleTargetInstancesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetInstanceAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleTargetInstancesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetInstanceList) } } diff --git a/compute/apiv1/target_pools_client_example_test.go b/compute/apiv1/target_pools_client_example_test.go index 090b88fd3bfa..afd107466c30 100644 --- a/compute/apiv1/target_pools_client_example_test.go +++ b/compute/apiv1/target_pools_client_example_test.go @@ -125,6 +125,12 @@ func ExampleTargetPoolsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetPoolAggregatedList) } } @@ -262,6 +268,12 @@ func ExampleTargetPoolsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetPoolList) } } diff --git a/compute/apiv1/target_ssl_proxies_client_example_test.go b/compute/apiv1/target_ssl_proxies_client_example_test.go index 3c9bc742958c..6da4c71649a6 100644 --- a/compute/apiv1/target_ssl_proxies_client_example_test.go +++ b/compute/apiv1/target_ssl_proxies_client_example_test.go @@ -150,6 +150,12 @@ func ExampleTargetSslProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetSslProxyList) } } diff --git a/compute/apiv1/target_tcp_proxies_client_example_test.go b/compute/apiv1/target_tcp_proxies_client_example_test.go index b2959ac1482c..2893a06fb3d9 100644 --- a/compute/apiv1/target_tcp_proxies_client_example_test.go +++ b/compute/apiv1/target_tcp_proxies_client_example_test.go @@ -69,6 +69,12 @@ func ExampleTargetTcpProxiesClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetTcpProxyAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleTargetTcpProxiesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetTcpProxyList) } } diff --git a/compute/apiv1/target_vpn_gateways_client_example_test.go b/compute/apiv1/target_vpn_gateways_client_example_test.go index 8cbb433e8c86..bcffc1295337 100644 --- a/compute/apiv1/target_vpn_gateways_client_example_test.go +++ b/compute/apiv1/target_vpn_gateways_client_example_test.go @@ -69,6 +69,12 @@ func ExampleTargetVpnGatewaysClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetVpnGatewayAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleTargetVpnGatewaysClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetVpnGatewayList) } } diff --git a/compute/apiv1/url_maps_client_example_test.go b/compute/apiv1/url_maps_client_example_test.go index 8c2b3fc19024..b439388848c0 100644 --- a/compute/apiv1/url_maps_client_example_test.go +++ b/compute/apiv1/url_maps_client_example_test.go @@ -69,6 +69,12 @@ func ExampleUrlMapsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UrlMapsAggregatedList) } } @@ -209,6 +215,12 @@ func ExampleUrlMapsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UrlMapList) } } diff --git a/compute/apiv1/vpn_gateways_client_example_test.go b/compute/apiv1/vpn_gateways_client_example_test.go index cd2f930458f8..8ad13e11ad44 100644 --- a/compute/apiv1/vpn_gateways_client_example_test.go +++ b/compute/apiv1/vpn_gateways_client_example_test.go @@ -69,6 +69,12 @@ func ExampleVpnGatewaysClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnGatewayAggregatedList) } } @@ -206,6 +212,12 @@ func ExampleVpnGatewaysClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnGatewayList) } } diff --git a/compute/apiv1/vpn_tunnels_client_example_test.go b/compute/apiv1/vpn_tunnels_client_example_test.go index a19b1aa484b1..a4f89b81530d 100644 --- a/compute/apiv1/vpn_tunnels_client_example_test.go +++ b/compute/apiv1/vpn_tunnels_client_example_test.go @@ -69,6 +69,12 @@ func ExampleVpnTunnelsClient_AggregatedList() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnTunnelAggregatedList) } } @@ -181,6 +187,12 @@ func ExampleVpnTunnelsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnTunnelList) } } diff --git a/compute/apiv1/zone_operations_client_example_test.go b/compute/apiv1/zone_operations_client_example_test.go index fae6eaa3c56e..0355a64987c9 100644 --- a/compute/apiv1/zone_operations_client_example_test.go +++ b/compute/apiv1/zone_operations_client_example_test.go @@ -119,6 +119,12 @@ func ExampleZoneOperationsClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/compute/apiv1/zones_client_example_test.go b/compute/apiv1/zones_client_example_test.go index 4fbfe5594a6b..003bcf854817 100644 --- a/compute/apiv1/zones_client_example_test.go +++ b/compute/apiv1/zones_client_example_test.go @@ -94,5 +94,11 @@ func ExampleZonesClient_List() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ZoneList) } } diff --git a/confidentialcomputing/apiv1/confidential_computing_client_example_test.go b/confidentialcomputing/apiv1/confidential_computing_client_example_test.go index 26e9ebfc0080..84fe4184f17b 100644 --- a/confidentialcomputing/apiv1/confidential_computing_client_example_test.go +++ b/confidentialcomputing/apiv1/confidential_computing_client_example_test.go @@ -162,5 +162,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/confidentialcomputing/apiv1alpha1/confidential_computing_client_example_test.go b/confidentialcomputing/apiv1alpha1/confidential_computing_client_example_test.go index ce44cb6f92f7..2fba1ee19511 100644 --- a/confidentialcomputing/apiv1alpha1/confidential_computing_client_example_test.go +++ b/confidentialcomputing/apiv1alpha1/confidential_computing_client_example_test.go @@ -162,5 +162,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/config/apiv1/config_client_example_test.go b/config/apiv1/config_client_example_test.go index cac5de545b83..71acc115a911 100644 --- a/config/apiv1/config_client_example_test.go +++ b/config/apiv1/config_client_example_test.go @@ -482,6 +482,12 @@ func ExampleClient_ListDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListDeploymentsResponse) } } @@ -513,6 +519,12 @@ func ExampleClient_ListPreviews() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListPreviewsResponse) } } @@ -544,6 +556,12 @@ func ExampleClient_ListResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListResourcesResponse) } } @@ -575,6 +593,12 @@ func ExampleClient_ListRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListRevisionsResponse) } } @@ -606,6 +630,12 @@ func ExampleClient_ListTerraformVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListTerraformVersionsResponse) } } @@ -752,6 +782,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -929,5 +965,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/contactcenterinsights/apiv1/contact_center_insights_client_example_test.go b/contactcenterinsights/apiv1/contact_center_insights_client_example_test.go index ad5db511e5e9..33b329918311 100644 --- a/contactcenterinsights/apiv1/contact_center_insights_client_example_test.go +++ b/contactcenterinsights/apiv1/contact_center_insights_client_example_test.go @@ -740,6 +740,12 @@ func ExampleClient_ListAnalyses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListAnalysesResponse) } } @@ -771,6 +777,12 @@ func ExampleClient_ListConversations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListConversationsResponse) } } @@ -852,6 +864,12 @@ func ExampleClient_ListPhraseMatchers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListPhraseMatchersResponse) } } @@ -883,6 +901,12 @@ func ExampleClient_ListViews() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListViewsResponse) } } @@ -1172,5 +1196,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/container/apiv1/cluster_manager_client_example_test.go b/container/apiv1/cluster_manager_client_example_test.go index 946909f96fc1..e5ea93cb9bf0 100644 --- a/container/apiv1/cluster_manager_client_example_test.go +++ b/container/apiv1/cluster_manager_client_example_test.go @@ -465,6 +465,12 @@ func ExampleClusterManagerClient_ListUsableSubnetworks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*containerpb.ListUsableSubnetworksResponse) } } diff --git a/containeranalysis/apiv1beta1/grafeas_v1_beta1_client_example_test.go b/containeranalysis/apiv1beta1/grafeas_v1_beta1_client_example_test.go index 2e2dec2bccb7..65153f082088 100644 --- a/containeranalysis/apiv1beta1/grafeas_v1_beta1_client_example_test.go +++ b/containeranalysis/apiv1beta1/grafeas_v1_beta1_client_example_test.go @@ -332,6 +332,12 @@ func ExampleGrafeasV1Beta1Client_ListNoteOccurrences() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*grafeaspb.ListNoteOccurrencesResponse) } } @@ -363,6 +369,12 @@ func ExampleGrafeasV1Beta1Client_ListNotes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*grafeaspb.ListNotesResponse) } } @@ -394,6 +406,12 @@ func ExampleGrafeasV1Beta1Client_ListOccurrences() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*grafeaspb.ListOccurrencesResponse) } } diff --git a/datacatalog/apiv1/data_catalog_client_example_test.go b/datacatalog/apiv1/data_catalog_client_example_test.go index 70c8075f8303..361d0b3d6b59 100644 --- a/datacatalog/apiv1/data_catalog_client_example_test.go +++ b/datacatalog/apiv1/data_catalog_client_example_test.go @@ -458,6 +458,12 @@ func ExampleClient_ListEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntriesResponse) } } @@ -489,6 +495,12 @@ func ExampleClient_ListEntryGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntryGroupsResponse) } } @@ -520,6 +532,12 @@ func ExampleClient_ListTags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTagsResponse) } } @@ -706,6 +724,12 @@ func ExampleClient_SearchCatalog() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.SearchCatalogResponse) } } @@ -1033,5 +1057,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/datacatalog/apiv1/policy_tag_manager_client_example_test.go b/datacatalog/apiv1/policy_tag_manager_client_example_test.go index 6ddb7ef2ff44..974d73fa32cc 100644 --- a/datacatalog/apiv1/policy_tag_manager_client_example_test.go +++ b/datacatalog/apiv1/policy_tag_manager_client_example_test.go @@ -259,6 +259,12 @@ func ExamplePolicyTagManagerClient_ListPolicyTags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListPolicyTagsResponse) } } @@ -290,6 +296,12 @@ func ExamplePolicyTagManagerClient_ListTaxonomies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTaxonomiesResponse) } } @@ -492,5 +504,11 @@ func ExamplePolicyTagManagerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/datacatalog/apiv1/policy_tag_manager_serialization_client_example_test.go b/datacatalog/apiv1/policy_tag_manager_serialization_client_example_test.go index aa926b246023..b5cf18306c5b 100644 --- a/datacatalog/apiv1/policy_tag_manager_serialization_client_example_test.go +++ b/datacatalog/apiv1/policy_tag_manager_serialization_client_example_test.go @@ -233,5 +233,11 @@ func ExamplePolicyTagManagerSerializationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/datacatalog/apiv1beta1/data_catalog_client_example_test.go b/datacatalog/apiv1beta1/data_catalog_client_example_test.go index 588fa52ee5ec..5059963e9547 100644 --- a/datacatalog/apiv1beta1/data_catalog_client_example_test.go +++ b/datacatalog/apiv1beta1/data_catalog_client_example_test.go @@ -427,6 +427,12 @@ func ExampleClient_ListEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntriesResponse) } } @@ -458,6 +464,12 @@ func ExampleClient_ListEntryGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntryGroupsResponse) } } @@ -489,6 +501,12 @@ func ExampleClient_ListTags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTagsResponse) } } @@ -595,6 +613,12 @@ func ExampleClient_SearchCatalog() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.SearchCatalogResponse) } } diff --git a/datacatalog/apiv1beta1/policy_tag_manager_client_example_test.go b/datacatalog/apiv1beta1/policy_tag_manager_client_example_test.go index 72a738249c57..cfe3214793f3 100644 --- a/datacatalog/apiv1beta1/policy_tag_manager_client_example_test.go +++ b/datacatalog/apiv1beta1/policy_tag_manager_client_example_test.go @@ -258,6 +258,12 @@ func ExamplePolicyTagManagerClient_ListPolicyTags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListPolicyTagsResponse) } } @@ -289,6 +295,12 @@ func ExamplePolicyTagManagerClient_ListTaxonomies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTaxonomiesResponse) } } diff --git a/datacatalog/lineage/apiv1/doc.go b/datacatalog/lineage/apiv1/doc.go index 12ece73b3304..9d291af9e4de 100755 --- a/datacatalog/lineage/apiv1/doc.go +++ b/datacatalog/lineage/apiv1/doc.go @@ -80,6 +80,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*lineagepb.BatchSearchLinkProcessesResponse) // } // // # Use of Context diff --git a/datacatalog/lineage/apiv1/lineage_client_example_test.go b/datacatalog/lineage/apiv1/lineage_client_example_test.go index 4008b72ac863..c396f3dcda6b 100644 --- a/datacatalog/lineage/apiv1/lineage_client_example_test.go +++ b/datacatalog/lineage/apiv1/lineage_client_example_test.go @@ -87,6 +87,12 @@ func ExampleClient_BatchSearchLinkProcesses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.BatchSearchLinkProcessesResponse) } } @@ -347,6 +353,12 @@ func ExampleClient_ListLineageEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.ListLineageEventsResponse) } } @@ -378,6 +390,12 @@ func ExampleClient_ListProcesses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.ListProcessesResponse) } } @@ -409,6 +427,12 @@ func ExampleClient_ListRuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.ListRunsResponse) } } @@ -465,6 +489,12 @@ func ExampleClient_SearchLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.SearchLinksResponse) } } @@ -617,5 +647,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataflow/apiv1beta3/jobs_v1_beta3_client_example_test.go b/dataflow/apiv1beta3/jobs_v1_beta3_client_example_test.go index 26f08a633860..63b187c130b9 100644 --- a/dataflow/apiv1beta3/jobs_v1_beta3_client_example_test.go +++ b/dataflow/apiv1beta3/jobs_v1_beta3_client_example_test.go @@ -86,6 +86,12 @@ func ExampleJobsV1Beta3Client_AggregatedListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.ListJobsResponse) } } @@ -192,6 +198,12 @@ func ExampleJobsV1Beta3Client_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.ListJobsResponse) } } diff --git a/dataflow/apiv1beta3/messages_v1_beta3_client_example_test.go b/dataflow/apiv1beta3/messages_v1_beta3_client_example_test.go index 576752b066a5..345c504c3a62 100644 --- a/dataflow/apiv1beta3/messages_v1_beta3_client_example_test.go +++ b/dataflow/apiv1beta3/messages_v1_beta3_client_example_test.go @@ -86,5 +86,11 @@ func ExampleMessagesV1Beta3Client_ListJobMessages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.ListJobMessagesResponse) } } diff --git a/dataflow/apiv1beta3/metrics_v1_beta3_client_example_test.go b/dataflow/apiv1beta3/metrics_v1_beta3_client_example_test.go index 33eaa803bea7..72c777cfc8a2 100644 --- a/dataflow/apiv1beta3/metrics_v1_beta3_client_example_test.go +++ b/dataflow/apiv1beta3/metrics_v1_beta3_client_example_test.go @@ -86,6 +86,12 @@ func ExampleMetricsV1Beta3Client_GetJobExecutionDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.JobExecutionDetails) } } @@ -142,5 +148,11 @@ func ExampleMetricsV1Beta3Client_GetStageExecutionDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.StageExecutionDetails) } } diff --git a/dataform/apiv1alpha2/dataform_client_example_test.go b/dataform/apiv1alpha2/dataform_client_example_test.go index dd507b9fd54d..71d8563d9ba4 100644 --- a/dataform/apiv1alpha2/dataform_client_example_test.go +++ b/dataform/apiv1alpha2/dataform_client_example_test.go @@ -528,6 +528,12 @@ func ExampleClient_ListCompilationResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListCompilationResultsResponse) } } @@ -559,6 +565,12 @@ func ExampleClient_ListRepositories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListRepositoriesResponse) } } @@ -590,6 +602,12 @@ func ExampleClient_ListWorkflowInvocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkflowInvocationsResponse) } } @@ -621,6 +639,12 @@ func ExampleClient_ListWorkspaces() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkspacesResponse) } } @@ -773,6 +797,12 @@ func ExampleClient_QueryCompilationResultActions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryCompilationResultActionsResponse) } } @@ -804,6 +834,12 @@ func ExampleClient_QueryDirectoryContents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryDirectoryContentsResponse) } } @@ -835,6 +871,12 @@ func ExampleClient_QueryWorkflowInvocationActions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryWorkflowInvocationActionsResponse) } } @@ -1035,6 +1077,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/dataform/apiv1beta1/dataform_client_example_test.go b/dataform/apiv1beta1/dataform_client_example_test.go index 354f1a46c2b7..d0daaf0ecd7a 100644 --- a/dataform/apiv1beta1/dataform_client_example_test.go +++ b/dataform/apiv1beta1/dataform_client_example_test.go @@ -547,6 +547,12 @@ func ExampleClient_FetchRepositoryHistory() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.FetchRepositoryHistoryResponse) } } @@ -753,6 +759,12 @@ func ExampleClient_ListCompilationResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListCompilationResultsResponse) } } @@ -784,6 +796,12 @@ func ExampleClient_ListReleaseConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListReleaseConfigsResponse) } } @@ -815,6 +833,12 @@ func ExampleClient_ListRepositories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListRepositoriesResponse) } } @@ -846,6 +870,12 @@ func ExampleClient_ListWorkflowConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkflowConfigsResponse) } } @@ -877,6 +907,12 @@ func ExampleClient_ListWorkflowInvocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkflowInvocationsResponse) } } @@ -908,6 +944,12 @@ func ExampleClient_ListWorkspaces() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkspacesResponse) } } @@ -1060,6 +1102,12 @@ func ExampleClient_QueryCompilationResultActions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryCompilationResultActionsResponse) } } @@ -1091,6 +1139,12 @@ func ExampleClient_QueryDirectoryContents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryDirectoryContentsResponse) } } @@ -1122,6 +1176,12 @@ func ExampleClient_QueryRepositoryDirectoryContents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryRepositoryDirectoryContentsResponse) } } @@ -1153,6 +1213,12 @@ func ExampleClient_QueryWorkflowInvocationActions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryWorkflowInvocationActionsResponse) } } @@ -1428,6 +1494,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/datafusion/apiv1/data_fusion_client_example_test.go b/datafusion/apiv1/data_fusion_client_example_test.go index a4002a36e733..186fd946a4d7 100644 --- a/datafusion/apiv1/data_fusion_client_example_test.go +++ b/datafusion/apiv1/data_fusion_client_example_test.go @@ -169,6 +169,12 @@ func ExampleClient_ListAvailableVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datafusionpb.ListAvailableVersionsResponse) } } @@ -200,6 +206,12 @@ func ExampleClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datafusionpb.ListInstancesResponse) } } diff --git a/datalabeling/apiv1beta1/data_labeling_client_example_test.go b/datalabeling/apiv1beta1/data_labeling_client_example_test.go index c7b7e4ad35a0..f7b816487c2d 100644 --- a/datalabeling/apiv1beta1/data_labeling_client_example_test.go +++ b/datalabeling/apiv1beta1/data_labeling_client_example_test.go @@ -656,6 +656,12 @@ func ExampleClient_ListAnnotatedDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListAnnotatedDatasetsResponse) } } @@ -687,6 +693,12 @@ func ExampleClient_ListAnnotationSpecSets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListAnnotationSpecSetsResponse) } } @@ -718,6 +730,12 @@ func ExampleClient_ListDataItems() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListDataItemsResponse) } } @@ -749,6 +767,12 @@ func ExampleClient_ListDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListDatasetsResponse) } } @@ -780,6 +804,12 @@ func ExampleClient_ListEvaluationJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListEvaluationJobsResponse) } } @@ -811,6 +841,12 @@ func ExampleClient_ListExamples() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListExamplesResponse) } } @@ -842,6 +878,12 @@ func ExampleClient_ListInstructions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListInstructionsResponse) } } @@ -919,6 +961,12 @@ func ExampleClient_SearchEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.SearchEvaluationsResponse) } } @@ -950,6 +998,12 @@ func ExampleClient_SearchExampleComparisons() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.SearchExampleComparisonsResponse) } } diff --git a/dataplex/apiv1/catalog_client_example_test.go b/dataplex/apiv1/catalog_client_example_test.go index 80d533f515fb..786439bc8176 100644 --- a/dataplex/apiv1/catalog_client_example_test.go +++ b/dataplex/apiv1/catalog_client_example_test.go @@ -395,6 +395,12 @@ func ExampleCatalogClient_ListAspectTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListAspectTypesResponse) } } @@ -426,6 +432,12 @@ func ExampleCatalogClient_ListEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntriesResponse) } } @@ -457,6 +469,12 @@ func ExampleCatalogClient_ListEntryGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntryGroupsResponse) } } @@ -488,6 +506,12 @@ func ExampleCatalogClient_ListEntryTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntryTypesResponse) } } @@ -544,6 +568,12 @@ func ExampleCatalogClient_SearchEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.SearchEntriesResponse) } } @@ -715,6 +745,12 @@ func ExampleCatalogClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -817,5 +853,11 @@ func ExampleCatalogClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataplex/apiv1/content_client_example_test.go b/dataplex/apiv1/content_client_example_test.go index f9133e7efef6..aaf5671b87eb 100644 --- a/dataplex/apiv1/content_client_example_test.go +++ b/dataplex/apiv1/content_client_example_test.go @@ -170,6 +170,12 @@ func ExampleContentClient_ListContent() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListContentResponse) } } @@ -301,6 +307,12 @@ func ExampleContentClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -403,5 +415,11 @@ func ExampleContentClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataplex/apiv1/data_scan_client_example_test.go b/dataplex/apiv1/data_scan_client_example_test.go index b9718a7921d3..fbca97a0d384 100644 --- a/dataplex/apiv1/data_scan_client_example_test.go +++ b/dataplex/apiv1/data_scan_client_example_test.go @@ -204,6 +204,12 @@ func ExampleDataScanClient_ListDataScanJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataScanJobsResponse) } } @@ -235,6 +241,12 @@ func ExampleDataScanClient_ListDataScans() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataScansResponse) } } @@ -346,6 +358,12 @@ func ExampleDataScanClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -448,5 +466,11 @@ func ExampleDataScanClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataplex/apiv1/data_taxonomy_client_example_test.go b/dataplex/apiv1/data_taxonomy_client_example_test.go index fd4b66703a54..d27d58d8d871 100644 --- a/dataplex/apiv1/data_taxonomy_client_example_test.go +++ b/dataplex/apiv1/data_taxonomy_client_example_test.go @@ -320,6 +320,12 @@ func ExampleDataTaxonomyClient_ListDataAttributeBindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataAttributeBindingsResponse) } } @@ -351,6 +357,12 @@ func ExampleDataTaxonomyClient_ListDataAttributes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataAttributesResponse) } } @@ -382,6 +394,12 @@ func ExampleDataTaxonomyClient_ListDataTaxonomies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataTaxonomiesResponse) } } @@ -528,6 +546,12 @@ func ExampleDataTaxonomyClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -630,5 +654,11 @@ func ExampleDataTaxonomyClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataplex/apiv1/dataplex_client_example_test.go b/dataplex/apiv1/dataplex_client_example_test.go index 986094b63996..9e665a0b144f 100644 --- a/dataplex/apiv1/dataplex_client_example_test.go +++ b/dataplex/apiv1/dataplex_client_example_test.go @@ -534,6 +534,12 @@ func ExampleClient_ListAssetActions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListActionsResponse) } } @@ -565,6 +571,12 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListAssetsResponse) } } @@ -596,6 +608,12 @@ func ExampleClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEnvironmentsResponse) } } @@ -627,6 +645,12 @@ func ExampleClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListJobsResponse) } } @@ -658,6 +682,12 @@ func ExampleClient_ListLakeActions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListActionsResponse) } } @@ -689,6 +719,12 @@ func ExampleClient_ListLakes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListLakesResponse) } } @@ -720,6 +756,12 @@ func ExampleClient_ListSessions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListSessionsResponse) } } @@ -751,6 +793,12 @@ func ExampleClient_ListTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListTasksResponse) } } @@ -782,6 +830,12 @@ func ExampleClient_ListZoneActions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListActionsResponse) } } @@ -813,6 +867,12 @@ func ExampleClient_ListZones() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListZonesResponse) } } @@ -1044,6 +1104,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1146,5 +1212,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataplex/apiv1/metadata_client_example_test.go b/dataplex/apiv1/metadata_client_example_test.go index a3c30178410b..e1810e44f16c 100644 --- a/dataplex/apiv1/metadata_client_example_test.go +++ b/dataplex/apiv1/metadata_client_example_test.go @@ -217,6 +217,12 @@ func ExampleMetadataClient_ListEntities() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntitiesResponse) } } @@ -248,6 +254,12 @@ func ExampleMetadataClient_ListPartitions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListPartitionsResponse) } } @@ -329,6 +341,12 @@ func ExampleMetadataClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -431,5 +449,11 @@ func ExampleMetadataClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/autoscaling_policy_client_example_test.go b/dataproc/apiv1/autoscaling_policy_client_example_test.go index a18e773a36fe..bf27cf7f5b73 100644 --- a/dataproc/apiv1/autoscaling_policy_client_example_test.go +++ b/dataproc/apiv1/autoscaling_policy_client_example_test.go @@ -161,6 +161,12 @@ func ExampleAutoscalingPolicyClient_ListAutoscalingPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListAutoscalingPoliciesResponse) } } @@ -363,5 +369,11 @@ func ExampleAutoscalingPolicyClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/batch_controller_client_example_test.go b/dataproc/apiv1/batch_controller_client_example_test.go index e2a299fd199e..0ae8d936c86b 100644 --- a/dataproc/apiv1/batch_controller_client_example_test.go +++ b/dataproc/apiv1/batch_controller_client_example_test.go @@ -166,6 +166,12 @@ func ExampleBatchControllerClient_ListBatches() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListBatchesResponse) } } @@ -343,5 +349,11 @@ func ExampleBatchControllerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/cluster_controller_client_example_test.go b/dataproc/apiv1/cluster_controller_client_example_test.go index 712073569269..210e8ef1440f 100644 --- a/dataproc/apiv1/cluster_controller_client_example_test.go +++ b/dataproc/apiv1/cluster_controller_client_example_test.go @@ -201,6 +201,12 @@ func ExampleClusterControllerClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListClustersResponse) } } @@ -468,5 +474,11 @@ func ExampleClusterControllerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/job_controller_client_example_test.go b/dataproc/apiv1/job_controller_client_example_test.go index 5ea1cf827e4d..a41f288c288f 100644 --- a/dataproc/apiv1/job_controller_client_example_test.go +++ b/dataproc/apiv1/job_controller_client_example_test.go @@ -161,6 +161,12 @@ func ExampleJobControllerClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListJobsResponse) } } @@ -418,5 +424,11 @@ func ExampleJobControllerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/node_group_controller_client_example_test.go b/dataproc/apiv1/node_group_controller_client_example_test.go index 3a4c974216fd..99740a8666c0 100644 --- a/dataproc/apiv1/node_group_controller_client_example_test.go +++ b/dataproc/apiv1/node_group_controller_client_example_test.go @@ -319,5 +319,11 @@ func ExampleNodeGroupControllerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/session_controller_client_example_test.go b/dataproc/apiv1/session_controller_client_example_test.go index 573e9b408e0d..011a5054b2db 100644 --- a/dataproc/apiv1/session_controller_client_example_test.go +++ b/dataproc/apiv1/session_controller_client_example_test.go @@ -173,6 +173,12 @@ func ExampleSessionControllerClient_ListSessions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListSessionsResponse) } } @@ -380,5 +386,11 @@ func ExampleSessionControllerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/session_template_controller_client_example_test.go b/dataproc/apiv1/session_template_controller_client_example_test.go index 4a00c921f5f2..e1084995932d 100644 --- a/dataproc/apiv1/session_template_controller_client_example_test.go +++ b/dataproc/apiv1/session_template_controller_client_example_test.go @@ -161,6 +161,12 @@ func ExampleSessionTemplateControllerClient_ListSessionTemplates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListSessionTemplatesResponse) } } @@ -363,5 +369,11 @@ func ExampleSessionTemplateControllerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dataproc/apiv1/workflow_template_client_example_test.go b/dataproc/apiv1/workflow_template_client_example_test.go index 428848d216ee..9a6a6ba724d6 100644 --- a/dataproc/apiv1/workflow_template_client_example_test.go +++ b/dataproc/apiv1/workflow_template_client_example_test.go @@ -217,6 +217,12 @@ func ExampleWorkflowTemplateClient_ListWorkflowTemplates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListWorkflowTemplatesResponse) } } @@ -419,5 +425,11 @@ func ExampleWorkflowTemplateClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/datastore/admin/apiv1/datastore_admin_client_example_test.go b/datastore/admin/apiv1/datastore_admin_client_example_test.go index a6e3ef08be03..9083f03babba 100644 --- a/datastore/admin/apiv1/datastore_admin_client_example_test.go +++ b/datastore/admin/apiv1/datastore_admin_client_example_test.go @@ -230,6 +230,12 @@ func ExampleDatastoreAdminClient_ListIndexes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListIndexesResponse) } } @@ -332,5 +338,11 @@ func ExampleDatastoreAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/datastream/apiv1/datastream_client_example_test.go b/datastream/apiv1/datastream_client_example_test.go index 7d820e562688..2a4f56cb5536 100644 --- a/datastream/apiv1/datastream_client_example_test.go +++ b/datastream/apiv1/datastream_client_example_test.go @@ -345,6 +345,12 @@ func ExampleClient_FetchStaticIps() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.FetchStaticIpsResponse) } } @@ -501,6 +507,12 @@ func ExampleClient_ListConnectionProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListConnectionProfilesResponse) } } @@ -532,6 +544,12 @@ func ExampleClient_ListPrivateConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListPrivateConnectionsResponse) } } @@ -563,6 +581,12 @@ func ExampleClient_ListRoutes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListRoutesResponse) } } @@ -594,6 +618,12 @@ func ExampleClient_ListStreamObjects() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListStreamObjectsResponse) } } @@ -625,6 +655,12 @@ func ExampleClient_ListStreams() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListStreamsResponse) } } @@ -816,6 +852,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -918,5 +960,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/datastream/apiv1alpha1/datastream_client_example_test.go b/datastream/apiv1alpha1/datastream_client_example_test.go index 9a7d32a2c068..977212b5dfb8 100644 --- a/datastream/apiv1alpha1/datastream_client_example_test.go +++ b/datastream/apiv1alpha1/datastream_client_example_test.go @@ -373,6 +373,12 @@ func ExampleClient_FetchStaticIps() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.FetchStaticIpsResponse) } } @@ -504,6 +510,12 @@ func ExampleClient_ListConnectionProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListConnectionProfilesResponse) } } @@ -535,6 +547,12 @@ func ExampleClient_ListPrivateConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListPrivateConnectionsResponse) } } @@ -566,6 +584,12 @@ func ExampleClient_ListRoutes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListRoutesResponse) } } @@ -597,6 +621,12 @@ func ExampleClient_ListStreams() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListStreamsResponse) } } diff --git a/deploy/apiv1/cloud_deploy_client_example_test.go b/deploy/apiv1/cloud_deploy_client_example_test.go index 79d77c749b50..560defad5482 100644 --- a/deploy/apiv1/cloud_deploy_client_example_test.go +++ b/deploy/apiv1/cloud_deploy_client_example_test.go @@ -756,6 +756,12 @@ func ExampleCloudDeployClient_ListAutomationRuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListAutomationRunsResponse) } } @@ -787,6 +793,12 @@ func ExampleCloudDeployClient_ListAutomations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListAutomationsResponse) } } @@ -818,6 +830,12 @@ func ExampleCloudDeployClient_ListCustomTargetTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListCustomTargetTypesResponse) } } @@ -849,6 +867,12 @@ func ExampleCloudDeployClient_ListDeliveryPipelines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListDeliveryPipelinesResponse) } } @@ -880,6 +904,12 @@ func ExampleCloudDeployClient_ListJobRuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListJobRunsResponse) } } @@ -911,6 +941,12 @@ func ExampleCloudDeployClient_ListReleases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListReleasesResponse) } } @@ -942,6 +978,12 @@ func ExampleCloudDeployClient_ListRollouts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListRolloutsResponse) } } @@ -973,6 +1015,12 @@ func ExampleCloudDeployClient_ListTargets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListTargetsResponse) } } @@ -1224,6 +1272,12 @@ func ExampleCloudDeployClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1401,5 +1455,11 @@ func ExampleCloudDeployClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/agents_client_example_test.go b/dialogflow/apiv2/agents_client_example_test.go index 329ae5682fab..8dff42600417 100644 --- a/dialogflow/apiv2/agents_client_example_test.go +++ b/dialogflow/apiv2/agents_client_example_test.go @@ -247,6 +247,12 @@ func ExampleAgentsClient_SearchAgents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.SearchAgentsResponse) } } @@ -356,6 +362,12 @@ func ExampleAgentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -435,5 +447,11 @@ func ExampleAgentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/answer_records_client_example_test.go b/dialogflow/apiv2/answer_records_client_example_test.go index a4135e90e9e6..7a547262df28 100644 --- a/dialogflow/apiv2/answer_records_client_example_test.go +++ b/dialogflow/apiv2/answer_records_client_example_test.go @@ -88,6 +88,12 @@ func ExampleAnswerRecordsClient_ListAnswerRecords() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListAnswerRecordsResponse) } } @@ -169,6 +175,12 @@ func ExampleAnswerRecordsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -248,5 +260,11 @@ func ExampleAnswerRecordsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/contexts_client_example_test.go b/dialogflow/apiv2/contexts_client_example_test.go index 39811bbea3e6..acd5c28afecf 100644 --- a/dialogflow/apiv2/contexts_client_example_test.go +++ b/dialogflow/apiv2/contexts_client_example_test.go @@ -184,6 +184,12 @@ func ExampleContextsClient_ListContexts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListContextsResponse) } } @@ -265,6 +271,12 @@ func ExampleContextsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -344,5 +356,11 @@ func ExampleContextsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/conversation_datasets_client_example_test.go b/dialogflow/apiv2/conversation_datasets_client_example_test.go index a381adb780d0..307b68917855 100644 --- a/dialogflow/apiv2/conversation_datasets_client_example_test.go +++ b/dialogflow/apiv2/conversation_datasets_client_example_test.go @@ -201,6 +201,12 @@ func ExampleConversationDatasetsClient_ListConversationDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationDatasetsResponse) } } @@ -257,6 +263,12 @@ func ExampleConversationDatasetsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -336,5 +348,11 @@ func ExampleConversationDatasetsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/conversation_models_client_example_test.go b/dialogflow/apiv2/conversation_models_client_example_test.go index 21288d39c8df..7981fa7aa341 100644 --- a/dialogflow/apiv2/conversation_models_client_example_test.go +++ b/dialogflow/apiv2/conversation_models_client_example_test.go @@ -254,6 +254,12 @@ func ExampleConversationModelsClient_ListConversationModelEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationModelEvaluationsResponse) } } @@ -285,6 +291,12 @@ func ExampleConversationModelsClient_ListConversationModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationModelsResponse) } } @@ -369,6 +381,12 @@ func ExampleConversationModelsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -448,5 +466,11 @@ func ExampleConversationModelsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/conversation_profiles_client_example_test.go b/dialogflow/apiv2/conversation_profiles_client_example_test.go index 83211590fecf..40f55d565640 100644 --- a/dialogflow/apiv2/conversation_profiles_client_example_test.go +++ b/dialogflow/apiv2/conversation_profiles_client_example_test.go @@ -191,6 +191,12 @@ func ExampleConversationProfilesClient_ListConversationProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationProfilesResponse) } } @@ -302,6 +308,12 @@ func ExampleConversationProfilesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -381,5 +393,11 @@ func ExampleConversationProfilesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/conversations_client_example_test.go b/dialogflow/apiv2/conversations_client_example_test.go index d9c484934783..ab9a09f1f127 100644 --- a/dialogflow/apiv2/conversations_client_example_test.go +++ b/dialogflow/apiv2/conversations_client_example_test.go @@ -188,6 +188,12 @@ func ExampleConversationsClient_ListConversations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationsResponse) } } @@ -219,6 +225,12 @@ func ExampleConversationsClient_ListMessages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListMessagesResponse) } } @@ -325,6 +337,12 @@ func ExampleConversationsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -404,5 +422,11 @@ func ExampleConversationsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/documents_client_example_test.go b/dialogflow/apiv2/documents_client_example_test.go index 581067210b16..3f82f2971a1f 100644 --- a/dialogflow/apiv2/documents_client_example_test.go +++ b/dialogflow/apiv2/documents_client_example_test.go @@ -231,6 +231,12 @@ func ExampleDocumentsClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListDocumentsResponse) } } @@ -347,6 +353,12 @@ func ExampleDocumentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -426,5 +438,11 @@ func ExampleDocumentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/entity_types_client_example_test.go b/dialogflow/apiv2/entity_types_client_example_test.go index b4254c75ee86..9125ac92f208 100644 --- a/dialogflow/apiv2/entity_types_client_example_test.go +++ b/dialogflow/apiv2/entity_types_client_example_test.go @@ -303,6 +303,12 @@ func ExampleEntityTypesClient_ListEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEntityTypesResponse) } } @@ -384,6 +390,12 @@ func ExampleEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -463,5 +475,11 @@ func ExampleEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/environments_client_example_test.go b/dialogflow/apiv2/environments_client_example_test.go index 4f1520b6dc35..b53a1c9096df 100644 --- a/dialogflow/apiv2/environments_client_example_test.go +++ b/dialogflow/apiv2/environments_client_example_test.go @@ -161,6 +161,12 @@ func ExampleEnvironmentsClient_GetEnvironmentHistory() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.EnvironmentHistory) } } @@ -192,6 +198,12 @@ func ExampleEnvironmentsClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEnvironmentsResponse) } } @@ -273,6 +285,12 @@ func ExampleEnvironmentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -352,5 +370,11 @@ func ExampleEnvironmentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/fulfillments_client_example_test.go b/dialogflow/apiv2/fulfillments_client_example_test.go index e68bc1f7f449..528dad4ece9e 100644 --- a/dialogflow/apiv2/fulfillments_client_example_test.go +++ b/dialogflow/apiv2/fulfillments_client_example_test.go @@ -163,6 +163,12 @@ func ExampleFulfillmentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -242,5 +248,11 @@ func ExampleFulfillmentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/intents_client_example_test.go b/dialogflow/apiv2/intents_client_example_test.go index bb4540b00248..39044b956946 100644 --- a/dialogflow/apiv2/intents_client_example_test.go +++ b/dialogflow/apiv2/intents_client_example_test.go @@ -219,6 +219,12 @@ func ExampleIntentsClient_ListIntents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListIntentsResponse) } } @@ -300,6 +306,12 @@ func ExampleIntentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -379,5 +391,11 @@ func ExampleIntentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/knowledge_bases_client_example_test.go b/dialogflow/apiv2/knowledge_bases_client_example_test.go index 19c474425afc..dcd5efbb9a22 100644 --- a/dialogflow/apiv2/knowledge_bases_client_example_test.go +++ b/dialogflow/apiv2/knowledge_bases_client_example_test.go @@ -161,6 +161,12 @@ func ExampleKnowledgeBasesClient_ListKnowledgeBases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListKnowledgeBasesResponse) } } @@ -242,6 +248,12 @@ func ExampleKnowledgeBasesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleKnowledgeBasesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/participants_client_example_test.go b/dialogflow/apiv2/participants_client_example_test.go index 2b9ad7d5b83f..06b10fc017b7 100644 --- a/dialogflow/apiv2/participants_client_example_test.go +++ b/dialogflow/apiv2/participants_client_example_test.go @@ -164,6 +164,12 @@ func ExampleParticipantsClient_ListParticipants() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListParticipantsResponse) } } @@ -360,6 +366,12 @@ func ExampleParticipantsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -439,5 +451,11 @@ func ExampleParticipantsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/session_entity_types_client_example_test.go b/dialogflow/apiv2/session_entity_types_client_example_test.go index dea948d6e286..7b7403513b4d 100644 --- a/dialogflow/apiv2/session_entity_types_client_example_test.go +++ b/dialogflow/apiv2/session_entity_types_client_example_test.go @@ -161,6 +161,12 @@ func ExampleSessionEntityTypesClient_ListSessionEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListSessionEntityTypesResponse) } } @@ -242,6 +248,12 @@ func ExampleSessionEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleSessionEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/sessions_client_example_test.go b/dialogflow/apiv2/sessions_client_example_test.go index b10aa8ec8f80..26478dac4b7d 100644 --- a/dialogflow/apiv2/sessions_client_example_test.go +++ b/dialogflow/apiv2/sessions_client_example_test.go @@ -179,6 +179,12 @@ func ExampleSessionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -258,5 +264,11 @@ func ExampleSessionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2/versions_client_example_test.go b/dialogflow/apiv2/versions_client_example_test.go index 9c73eff39ddf..41f492fbea7f 100644 --- a/dialogflow/apiv2/versions_client_example_test.go +++ b/dialogflow/apiv2/versions_client_example_test.go @@ -161,6 +161,12 @@ func ExampleVersionsClient_ListVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListVersionsResponse) } } @@ -242,6 +248,12 @@ func ExampleVersionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleVersionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/agents_client_example_test.go b/dialogflow/apiv2beta1/agents_client_example_test.go index 5ae026ddeb28..c8a45c68857b 100644 --- a/dialogflow/apiv2beta1/agents_client_example_test.go +++ b/dialogflow/apiv2beta1/agents_client_example_test.go @@ -247,6 +247,12 @@ func ExampleAgentsClient_SearchAgents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.SearchAgentsResponse) } } @@ -356,6 +362,12 @@ func ExampleAgentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -435,5 +447,11 @@ func ExampleAgentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/answer_records_client_example_test.go b/dialogflow/apiv2beta1/answer_records_client_example_test.go index fefed34f4f34..9e5512c66f92 100644 --- a/dialogflow/apiv2beta1/answer_records_client_example_test.go +++ b/dialogflow/apiv2beta1/answer_records_client_example_test.go @@ -113,6 +113,12 @@ func ExampleAnswerRecordsClient_ListAnswerRecords() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListAnswerRecordsResponse) } } @@ -194,6 +200,12 @@ func ExampleAnswerRecordsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -273,5 +285,11 @@ func ExampleAnswerRecordsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/contexts_client_example_test.go b/dialogflow/apiv2beta1/contexts_client_example_test.go index 4036ffeeb9b2..982aa9ab1222 100644 --- a/dialogflow/apiv2beta1/contexts_client_example_test.go +++ b/dialogflow/apiv2beta1/contexts_client_example_test.go @@ -184,6 +184,12 @@ func ExampleContextsClient_ListContexts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListContextsResponse) } } @@ -265,6 +271,12 @@ func ExampleContextsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -344,5 +356,11 @@ func ExampleContextsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/conversation_profiles_client_example_test.go b/dialogflow/apiv2beta1/conversation_profiles_client_example_test.go index 9f5929929173..e42750c67b78 100644 --- a/dialogflow/apiv2beta1/conversation_profiles_client_example_test.go +++ b/dialogflow/apiv2beta1/conversation_profiles_client_example_test.go @@ -191,6 +191,12 @@ func ExampleConversationProfilesClient_ListConversationProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationProfilesResponse) } } @@ -302,6 +308,12 @@ func ExampleConversationProfilesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -381,5 +393,11 @@ func ExampleConversationProfilesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/conversations_client_example_test.go b/dialogflow/apiv2beta1/conversations_client_example_test.go index a40f46ba4911..8f574ee2bd9a 100644 --- a/dialogflow/apiv2beta1/conversations_client_example_test.go +++ b/dialogflow/apiv2beta1/conversations_client_example_test.go @@ -213,6 +213,12 @@ func ExampleConversationsClient_ListConversations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationsResponse) } } @@ -244,6 +250,12 @@ func ExampleConversationsClient_ListMessages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListMessagesResponse) } } @@ -350,6 +362,12 @@ func ExampleConversationsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -429,5 +447,11 @@ func ExampleConversationsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/documents_client_example_test.go b/dialogflow/apiv2beta1/documents_client_example_test.go index 6403870aaaf5..1929ce19e851 100644 --- a/dialogflow/apiv2beta1/documents_client_example_test.go +++ b/dialogflow/apiv2beta1/documents_client_example_test.go @@ -201,6 +201,12 @@ func ExampleDocumentsClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListDocumentsResponse) } } @@ -317,6 +323,12 @@ func ExampleDocumentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -396,5 +408,11 @@ func ExampleDocumentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/entity_types_client_example_test.go b/dialogflow/apiv2beta1/entity_types_client_example_test.go index f1b3d0d88220..dfe8ebb7e44a 100644 --- a/dialogflow/apiv2beta1/entity_types_client_example_test.go +++ b/dialogflow/apiv2beta1/entity_types_client_example_test.go @@ -303,6 +303,12 @@ func ExampleEntityTypesClient_ListEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEntityTypesResponse) } } @@ -384,6 +390,12 @@ func ExampleEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -463,5 +475,11 @@ func ExampleEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/environments_client_example_test.go b/dialogflow/apiv2beta1/environments_client_example_test.go index a1548912155d..052dfe8416dd 100644 --- a/dialogflow/apiv2beta1/environments_client_example_test.go +++ b/dialogflow/apiv2beta1/environments_client_example_test.go @@ -161,6 +161,12 @@ func ExampleEnvironmentsClient_GetEnvironmentHistory() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.EnvironmentHistory) } } @@ -192,6 +198,12 @@ func ExampleEnvironmentsClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEnvironmentsResponse) } } @@ -273,6 +285,12 @@ func ExampleEnvironmentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -352,5 +370,11 @@ func ExampleEnvironmentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/fulfillments_client_example_test.go b/dialogflow/apiv2beta1/fulfillments_client_example_test.go index 4b5f2809c28e..c10c89a4403d 100644 --- a/dialogflow/apiv2beta1/fulfillments_client_example_test.go +++ b/dialogflow/apiv2beta1/fulfillments_client_example_test.go @@ -163,6 +163,12 @@ func ExampleFulfillmentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -242,5 +248,11 @@ func ExampleFulfillmentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/intents_client_example_test.go b/dialogflow/apiv2beta1/intents_client_example_test.go index b0be9e1a2355..12f76e84da08 100644 --- a/dialogflow/apiv2beta1/intents_client_example_test.go +++ b/dialogflow/apiv2beta1/intents_client_example_test.go @@ -219,6 +219,12 @@ func ExampleIntentsClient_ListIntents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListIntentsResponse) } } @@ -300,6 +306,12 @@ func ExampleIntentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -379,5 +391,11 @@ func ExampleIntentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/knowledge_bases_client_example_test.go b/dialogflow/apiv2beta1/knowledge_bases_client_example_test.go index 97f2533fc9f0..cedd2f4cd226 100644 --- a/dialogflow/apiv2beta1/knowledge_bases_client_example_test.go +++ b/dialogflow/apiv2beta1/knowledge_bases_client_example_test.go @@ -161,6 +161,12 @@ func ExampleKnowledgeBasesClient_ListKnowledgeBases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListKnowledgeBasesResponse) } } @@ -242,6 +248,12 @@ func ExampleKnowledgeBasesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleKnowledgeBasesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/participants_client_example_test.go b/dialogflow/apiv2beta1/participants_client_example_test.go index 906606e8fe1d..09053b154063 100644 --- a/dialogflow/apiv2beta1/participants_client_example_test.go +++ b/dialogflow/apiv2beta1/participants_client_example_test.go @@ -189,6 +189,12 @@ func ExampleParticipantsClient_ListParticipants() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListParticipantsResponse) } } @@ -220,6 +226,12 @@ func ExampleParticipantsClient_ListSuggestions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListSuggestionsResponse) } } @@ -416,6 +428,12 @@ func ExampleParticipantsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -495,5 +513,11 @@ func ExampleParticipantsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/session_entity_types_client_example_test.go b/dialogflow/apiv2beta1/session_entity_types_client_example_test.go index 17fa477369b7..0eab37b4ebb7 100644 --- a/dialogflow/apiv2beta1/session_entity_types_client_example_test.go +++ b/dialogflow/apiv2beta1/session_entity_types_client_example_test.go @@ -161,6 +161,12 @@ func ExampleSessionEntityTypesClient_ListSessionEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListSessionEntityTypesResponse) } } @@ -242,6 +248,12 @@ func ExampleSessionEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleSessionEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/sessions_client_example_test.go b/dialogflow/apiv2beta1/sessions_client_example_test.go index 89193e61cb64..7fe4ca2d7e33 100644 --- a/dialogflow/apiv2beta1/sessions_client_example_test.go +++ b/dialogflow/apiv2beta1/sessions_client_example_test.go @@ -179,6 +179,12 @@ func ExampleSessionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -258,5 +264,11 @@ func ExampleSessionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/apiv2beta1/versions_client_example_test.go b/dialogflow/apiv2beta1/versions_client_example_test.go index 51840c7e7513..879c3b3cdbbd 100644 --- a/dialogflow/apiv2beta1/versions_client_example_test.go +++ b/dialogflow/apiv2beta1/versions_client_example_test.go @@ -161,6 +161,12 @@ func ExampleVersionsClient_ListVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListVersionsResponse) } } @@ -242,6 +248,12 @@ func ExampleVersionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleVersionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/agents_client_example_test.go b/dialogflow/cx/apiv3/agents_client_example_test.go index 59b570ee07e1..387b3256b110 100644 --- a/dialogflow/cx/apiv3/agents_client_example_test.go +++ b/dialogflow/cx/apiv3/agents_client_example_test.go @@ -241,6 +241,12 @@ func ExampleAgentsClient_ListAgents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListAgentsResponse) } } @@ -400,6 +406,12 @@ func ExampleAgentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -479,5 +491,11 @@ func ExampleAgentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/changelogs_client_example_test.go b/dialogflow/cx/apiv3/changelogs_client_example_test.go index 071ad2313694..fb5cbfbf46a3 100644 --- a/dialogflow/cx/apiv3/changelogs_client_example_test.go +++ b/dialogflow/cx/apiv3/changelogs_client_example_test.go @@ -113,6 +113,12 @@ func ExampleChangelogsClient_ListChangelogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListChangelogsResponse) } } @@ -169,6 +175,12 @@ func ExampleChangelogsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -248,5 +260,11 @@ func ExampleChangelogsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/deployments_client_example_test.go b/dialogflow/cx/apiv3/deployments_client_example_test.go index ebdf03699d21..718aea157948 100644 --- a/dialogflow/cx/apiv3/deployments_client_example_test.go +++ b/dialogflow/cx/apiv3/deployments_client_example_test.go @@ -113,6 +113,12 @@ func ExampleDeploymentsClient_ListDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListDeploymentsResponse) } } @@ -169,6 +175,12 @@ func ExampleDeploymentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -248,5 +260,11 @@ func ExampleDeploymentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/entity_types_client_example_test.go b/dialogflow/cx/apiv3/entity_types_client_example_test.go index 4d79e9dc5683..29265408c747 100644 --- a/dialogflow/cx/apiv3/entity_types_client_example_test.go +++ b/dialogflow/cx/apiv3/entity_types_client_example_test.go @@ -221,6 +221,12 @@ func ExampleEntityTypesClient_ListEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEntityTypesResponse) } } @@ -302,6 +308,12 @@ func ExampleEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -381,5 +393,11 @@ func ExampleEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/environments_client_example_test.go b/dialogflow/cx/apiv3/environments_client_example_test.go index b3f1735dca01..6df0cdf4cb5f 100644 --- a/dialogflow/cx/apiv3/environments_client_example_test.go +++ b/dialogflow/cx/apiv3/environments_client_example_test.go @@ -196,6 +196,12 @@ func ExampleEnvironmentsClient_ListContinuousTestResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListContinuousTestResultsResponse) } } @@ -227,6 +233,12 @@ func ExampleEnvironmentsClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEnvironmentsResponse) } } @@ -258,6 +270,12 @@ func ExampleEnvironmentsClient_LookupEnvironmentHistory() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.LookupEnvironmentHistoryResponse) } } @@ -374,6 +392,12 @@ func ExampleEnvironmentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -453,5 +477,11 @@ func ExampleEnvironmentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/experiments_client_example_test.go b/dialogflow/cx/apiv3/experiments_client_example_test.go index cf6433ad1405..e32026d65a47 100644 --- a/dialogflow/cx/apiv3/experiments_client_example_test.go +++ b/dialogflow/cx/apiv3/experiments_client_example_test.go @@ -161,6 +161,12 @@ func ExampleExperimentsClient_ListExperiments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListExperimentsResponse) } } @@ -292,6 +298,12 @@ func ExampleExperimentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -371,5 +383,11 @@ func ExampleExperimentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/flows_client_example_test.go b/dialogflow/cx/apiv3/flows_client_example_test.go index 5b61a1ac30e0..08816ae6ebc1 100644 --- a/dialogflow/cx/apiv3/flows_client_example_test.go +++ b/dialogflow/cx/apiv3/flows_client_example_test.go @@ -246,6 +246,12 @@ func ExampleFlowsClient_ListFlows() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListFlowsResponse) } } @@ -380,6 +386,12 @@ func ExampleFlowsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -459,5 +471,11 @@ func ExampleFlowsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/generators_client_example_test.go b/dialogflow/cx/apiv3/generators_client_example_test.go index 033e72b8f939..fe11d6190968 100644 --- a/dialogflow/cx/apiv3/generators_client_example_test.go +++ b/dialogflow/cx/apiv3/generators_client_example_test.go @@ -161,6 +161,12 @@ func ExampleGeneratorsClient_ListGenerators() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListGeneratorsResponse) } } @@ -242,6 +248,12 @@ func ExampleGeneratorsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleGeneratorsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/intents_client_example_test.go b/dialogflow/cx/apiv3/intents_client_example_test.go index 736aa0d6ebff..08114758bbab 100644 --- a/dialogflow/cx/apiv3/intents_client_example_test.go +++ b/dialogflow/cx/apiv3/intents_client_example_test.go @@ -221,6 +221,12 @@ func ExampleIntentsClient_ListIntents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListIntentsResponse) } } @@ -302,6 +308,12 @@ func ExampleIntentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -381,5 +393,11 @@ func ExampleIntentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/pages_client_example_test.go b/dialogflow/cx/apiv3/pages_client_example_test.go index 1b195ce21045..a2ff5de73bda 100644 --- a/dialogflow/cx/apiv3/pages_client_example_test.go +++ b/dialogflow/cx/apiv3/pages_client_example_test.go @@ -161,6 +161,12 @@ func ExamplePagesClient_ListPages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPagesResponse) } } @@ -242,6 +248,12 @@ func ExamplePagesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExamplePagesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/security_settings_client_example_test.go b/dialogflow/cx/apiv3/security_settings_client_example_test.go index 26046a56bc64..391f1286ae2c 100644 --- a/dialogflow/cx/apiv3/security_settings_client_example_test.go +++ b/dialogflow/cx/apiv3/security_settings_client_example_test.go @@ -161,6 +161,12 @@ func ExampleSecuritySettingsClient_ListSecuritySettings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSecuritySettingsResponse) } } @@ -242,6 +248,12 @@ func ExampleSecuritySettingsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleSecuritySettingsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/session_entity_types_client_example_test.go b/dialogflow/cx/apiv3/session_entity_types_client_example_test.go index 1665218bd8a3..d4dd6a75c29b 100644 --- a/dialogflow/cx/apiv3/session_entity_types_client_example_test.go +++ b/dialogflow/cx/apiv3/session_entity_types_client_example_test.go @@ -161,6 +161,12 @@ func ExampleSessionEntityTypesClient_ListSessionEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSessionEntityTypesResponse) } } @@ -242,6 +248,12 @@ func ExampleSessionEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleSessionEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/sessions_client_example_test.go b/dialogflow/cx/apiv3/sessions_client_example_test.go index ceedab915b4c..dbd7636da019 100644 --- a/dialogflow/cx/apiv3/sessions_client_example_test.go +++ b/dialogflow/cx/apiv3/sessions_client_example_test.go @@ -254,6 +254,12 @@ func ExampleSessionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -333,5 +339,11 @@ func ExampleSessionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/test_cases_client_example_test.go b/dialogflow/cx/apiv3/test_cases_client_example_test.go index a69f9b6c73bf..1ba17a65c4bf 100644 --- a/dialogflow/cx/apiv3/test_cases_client_example_test.go +++ b/dialogflow/cx/apiv3/test_cases_client_example_test.go @@ -301,6 +301,12 @@ func ExampleTestCasesClient_ListTestCaseResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCaseResultsResponse) } } @@ -332,6 +338,12 @@ func ExampleTestCasesClient_ListTestCases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCasesResponse) } } @@ -443,6 +455,12 @@ func ExampleTestCasesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -522,5 +540,11 @@ func ExampleTestCasesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/transition_route_groups_client_example_test.go b/dialogflow/cx/apiv3/transition_route_groups_client_example_test.go index 31c701b98f0d..ae8c0f79d589 100644 --- a/dialogflow/cx/apiv3/transition_route_groups_client_example_test.go +++ b/dialogflow/cx/apiv3/transition_route_groups_client_example_test.go @@ -161,6 +161,12 @@ func ExampleTransitionRouteGroupsClient_ListTransitionRouteGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTransitionRouteGroupsResponse) } } @@ -242,6 +248,12 @@ func ExampleTransitionRouteGroupsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleTransitionRouteGroupsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/versions_client_example_test.go b/dialogflow/cx/apiv3/versions_client_example_test.go index 0a9e7a3664cd..7661b4535039 100644 --- a/dialogflow/cx/apiv3/versions_client_example_test.go +++ b/dialogflow/cx/apiv3/versions_client_example_test.go @@ -191,6 +191,12 @@ func ExampleVersionsClient_ListVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListVersionsResponse) } } @@ -300,6 +306,12 @@ func ExampleVersionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -379,5 +391,11 @@ func ExampleVersionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3/webhooks_client_example_test.go b/dialogflow/cx/apiv3/webhooks_client_example_test.go index b974e10edfab..998a599546a3 100644 --- a/dialogflow/cx/apiv3/webhooks_client_example_test.go +++ b/dialogflow/cx/apiv3/webhooks_client_example_test.go @@ -161,6 +161,12 @@ func ExampleWebhooksClient_ListWebhooks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListWebhooksResponse) } } @@ -242,6 +248,12 @@ func ExampleWebhooksClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleWebhooksClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/agents_client_example_test.go b/dialogflow/cx/apiv3beta1/agents_client_example_test.go index 7da81c478375..be4d9975ebd4 100644 --- a/dialogflow/cx/apiv3beta1/agents_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/agents_client_example_test.go @@ -241,6 +241,12 @@ func ExampleAgentsClient_ListAgents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListAgentsResponse) } } @@ -400,6 +406,12 @@ func ExampleAgentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -479,5 +491,11 @@ func ExampleAgentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/changelogs_client_example_test.go b/dialogflow/cx/apiv3beta1/changelogs_client_example_test.go index 1d5e4035c32b..f42a0927c2ec 100644 --- a/dialogflow/cx/apiv3beta1/changelogs_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/changelogs_client_example_test.go @@ -113,6 +113,12 @@ func ExampleChangelogsClient_ListChangelogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListChangelogsResponse) } } @@ -169,6 +175,12 @@ func ExampleChangelogsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -248,5 +260,11 @@ func ExampleChangelogsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/deployments_client_example_test.go b/dialogflow/cx/apiv3beta1/deployments_client_example_test.go index 96de4e6cb110..8afe1b777157 100644 --- a/dialogflow/cx/apiv3beta1/deployments_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/deployments_client_example_test.go @@ -113,6 +113,12 @@ func ExampleDeploymentsClient_ListDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListDeploymentsResponse) } } @@ -169,6 +175,12 @@ func ExampleDeploymentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -248,5 +260,11 @@ func ExampleDeploymentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/entity_types_client_example_test.go b/dialogflow/cx/apiv3beta1/entity_types_client_example_test.go index 70f8a15ab235..e6640e764aff 100644 --- a/dialogflow/cx/apiv3beta1/entity_types_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/entity_types_client_example_test.go @@ -221,6 +221,12 @@ func ExampleEntityTypesClient_ListEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEntityTypesResponse) } } @@ -302,6 +308,12 @@ func ExampleEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -381,5 +393,11 @@ func ExampleEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/environments_client_example_test.go b/dialogflow/cx/apiv3beta1/environments_client_example_test.go index 3d34ee43dd77..9dfc559ca3f8 100644 --- a/dialogflow/cx/apiv3beta1/environments_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/environments_client_example_test.go @@ -196,6 +196,12 @@ func ExampleEnvironmentsClient_ListContinuousTestResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListContinuousTestResultsResponse) } } @@ -227,6 +233,12 @@ func ExampleEnvironmentsClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEnvironmentsResponse) } } @@ -258,6 +270,12 @@ func ExampleEnvironmentsClient_LookupEnvironmentHistory() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.LookupEnvironmentHistoryResponse) } } @@ -374,6 +392,12 @@ func ExampleEnvironmentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -453,5 +477,11 @@ func ExampleEnvironmentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/examples_client_example_test.go b/dialogflow/cx/apiv3beta1/examples_client_example_test.go index 87cf8875c143..df79a110101e 100644 --- a/dialogflow/cx/apiv3beta1/examples_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/examples_client_example_test.go @@ -161,6 +161,12 @@ func ExampleExamplesClient_ListExamples() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListExamplesResponse) } } @@ -242,6 +248,12 @@ func ExampleExamplesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleExamplesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/experiments_client_example_test.go b/dialogflow/cx/apiv3beta1/experiments_client_example_test.go index 72f0fcf01cc4..126c97cfaa69 100644 --- a/dialogflow/cx/apiv3beta1/experiments_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/experiments_client_example_test.go @@ -161,6 +161,12 @@ func ExampleExperimentsClient_ListExperiments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListExperimentsResponse) } } @@ -292,6 +298,12 @@ func ExampleExperimentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -371,5 +383,11 @@ func ExampleExperimentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/flows_client_example_test.go b/dialogflow/cx/apiv3beta1/flows_client_example_test.go index cb1bc4c49b48..88a7eb217d5b 100644 --- a/dialogflow/cx/apiv3beta1/flows_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/flows_client_example_test.go @@ -246,6 +246,12 @@ func ExampleFlowsClient_ListFlows() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListFlowsResponse) } } @@ -380,6 +386,12 @@ func ExampleFlowsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -459,5 +471,11 @@ func ExampleFlowsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/generators_client_example_test.go b/dialogflow/cx/apiv3beta1/generators_client_example_test.go index 96bdea54327c..05ad5a443427 100644 --- a/dialogflow/cx/apiv3beta1/generators_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/generators_client_example_test.go @@ -161,6 +161,12 @@ func ExampleGeneratorsClient_ListGenerators() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListGeneratorsResponse) } } @@ -242,6 +248,12 @@ func ExampleGeneratorsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleGeneratorsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/intents_client_example_test.go b/dialogflow/cx/apiv3beta1/intents_client_example_test.go index 7d2cc8cf0e6f..2df386690c42 100644 --- a/dialogflow/cx/apiv3beta1/intents_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/intents_client_example_test.go @@ -221,6 +221,12 @@ func ExampleIntentsClient_ListIntents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListIntentsResponse) } } @@ -302,6 +308,12 @@ func ExampleIntentsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -381,5 +393,11 @@ func ExampleIntentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/pages_client_example_test.go b/dialogflow/cx/apiv3beta1/pages_client_example_test.go index 843347f157ac..8e5dcc35809d 100644 --- a/dialogflow/cx/apiv3beta1/pages_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/pages_client_example_test.go @@ -161,6 +161,12 @@ func ExamplePagesClient_ListPages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPagesResponse) } } @@ -242,6 +248,12 @@ func ExamplePagesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExamplePagesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/playbooks_client_example_test.go b/dialogflow/cx/apiv3beta1/playbooks_client_example_test.go index a2344e8f73aa..ca4e3921a2be 100644 --- a/dialogflow/cx/apiv3beta1/playbooks_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/playbooks_client_example_test.go @@ -234,6 +234,12 @@ func ExamplePlaybooksClient_ListPlaybookVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPlaybookVersionsResponse) } } @@ -265,6 +271,12 @@ func ExamplePlaybooksClient_ListPlaybooks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPlaybooksResponse) } } @@ -346,6 +358,12 @@ func ExamplePlaybooksClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -425,5 +443,11 @@ func ExamplePlaybooksClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/security_settings_client_example_test.go b/dialogflow/cx/apiv3beta1/security_settings_client_example_test.go index 068043a42409..7b7edc18af65 100644 --- a/dialogflow/cx/apiv3beta1/security_settings_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/security_settings_client_example_test.go @@ -161,6 +161,12 @@ func ExampleSecuritySettingsClient_ListSecuritySettings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSecuritySettingsResponse) } } @@ -242,6 +248,12 @@ func ExampleSecuritySettingsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleSecuritySettingsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/session_entity_types_client_example_test.go b/dialogflow/cx/apiv3beta1/session_entity_types_client_example_test.go index fab353e11e1a..d3454daae73e 100644 --- a/dialogflow/cx/apiv3beta1/session_entity_types_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/session_entity_types_client_example_test.go @@ -161,6 +161,12 @@ func ExampleSessionEntityTypesClient_ListSessionEntityTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSessionEntityTypesResponse) } } @@ -242,6 +248,12 @@ func ExampleSessionEntityTypesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleSessionEntityTypesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/sessions_client_example_test.go b/dialogflow/cx/apiv3beta1/sessions_client_example_test.go index 05b958f4d4b2..0087f64222d8 100644 --- a/dialogflow/cx/apiv3beta1/sessions_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/sessions_client_example_test.go @@ -254,6 +254,12 @@ func ExampleSessionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -333,5 +339,11 @@ func ExampleSessionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/test_cases_client_example_test.go b/dialogflow/cx/apiv3beta1/test_cases_client_example_test.go index 860846c9fe1e..8cc185cad043 100644 --- a/dialogflow/cx/apiv3beta1/test_cases_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/test_cases_client_example_test.go @@ -301,6 +301,12 @@ func ExampleTestCasesClient_ListTestCaseResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCaseResultsResponse) } } @@ -332,6 +338,12 @@ func ExampleTestCasesClient_ListTestCases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCasesResponse) } } @@ -443,6 +455,12 @@ func ExampleTestCasesClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -522,5 +540,11 @@ func ExampleTestCasesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/tools_client_example_test.go b/dialogflow/cx/apiv3beta1/tools_client_example_test.go index aa85f86c8fb2..2138c34d42b2 100644 --- a/dialogflow/cx/apiv3beta1/tools_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/tools_client_example_test.go @@ -191,6 +191,12 @@ func ExampleToolsClient_ListTools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListToolsResponse) } } @@ -272,6 +278,12 @@ func ExampleToolsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -351,5 +363,11 @@ func ExampleToolsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/transition_route_groups_client_example_test.go b/dialogflow/cx/apiv3beta1/transition_route_groups_client_example_test.go index e01b6cfb3c02..dc16afa066e1 100644 --- a/dialogflow/cx/apiv3beta1/transition_route_groups_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/transition_route_groups_client_example_test.go @@ -161,6 +161,12 @@ func ExampleTransitionRouteGroupsClient_ListTransitionRouteGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTransitionRouteGroupsResponse) } } @@ -242,6 +248,12 @@ func ExampleTransitionRouteGroupsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleTransitionRouteGroupsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/versions_client_example_test.go b/dialogflow/cx/apiv3beta1/versions_client_example_test.go index 68594730d33f..8c7928cbaf94 100644 --- a/dialogflow/cx/apiv3beta1/versions_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/versions_client_example_test.go @@ -191,6 +191,12 @@ func ExampleVersionsClient_ListVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListVersionsResponse) } } @@ -300,6 +306,12 @@ func ExampleVersionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -379,5 +391,11 @@ func ExampleVersionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dialogflow/cx/apiv3beta1/webhooks_client_example_test.go b/dialogflow/cx/apiv3beta1/webhooks_client_example_test.go index ba9879a33ecd..b2f6fe6be7b8 100644 --- a/dialogflow/cx/apiv3beta1/webhooks_client_example_test.go +++ b/dialogflow/cx/apiv3beta1/webhooks_client_example_test.go @@ -161,6 +161,12 @@ func ExampleWebhooksClient_ListWebhooks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListWebhooksResponse) } } @@ -242,6 +248,12 @@ func ExampleWebhooksClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -321,5 +333,11 @@ func ExampleWebhooksClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/completion_client_example_test.go b/discoveryengine/apiv1/completion_client_example_test.go index a3348cd605eb..24749f313376 100644 --- a/discoveryengine/apiv1/completion_client_example_test.go +++ b/discoveryengine/apiv1/completion_client_example_test.go @@ -197,5 +197,11 @@ func ExampleCompletionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/conversational_search_client_example_test.go b/discoveryengine/apiv1/conversational_search_client_example_test.go index dd9812f6f6e5..458138e98345 100644 --- a/discoveryengine/apiv1/conversational_search_client_example_test.go +++ b/discoveryengine/apiv1/conversational_search_client_example_test.go @@ -185,6 +185,12 @@ func ExampleConversationalSearchClient_ListConversations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListConversationsResponse) } } @@ -266,5 +272,11 @@ func ExampleConversationalSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/data_store_client_example_test.go b/discoveryengine/apiv1/data_store_client_example_test.go index 57e0a70bc662..2384c5dfa8e3 100644 --- a/discoveryengine/apiv1/data_store_client_example_test.go +++ b/discoveryengine/apiv1/data_store_client_example_test.go @@ -170,6 +170,12 @@ func ExampleDataStoreClient_ListDataStores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDataStoresResponse) } } @@ -251,5 +257,11 @@ func ExampleDataStoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/document_client_example_test.go b/discoveryengine/apiv1/document_client_example_test.go index 0acb369ccc8d..3331786c4ad3 100644 --- a/discoveryengine/apiv1/document_client_example_test.go +++ b/discoveryengine/apiv1/document_client_example_test.go @@ -190,6 +190,12 @@ func ExampleDocumentClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDocumentsResponse) } } @@ -301,5 +307,11 @@ func ExampleDocumentClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/engine_client_example_test.go b/discoveryengine/apiv1/engine_client_example_test.go index b8086f3decf4..f2b068b03cbe 100644 --- a/discoveryengine/apiv1/engine_client_example_test.go +++ b/discoveryengine/apiv1/engine_client_example_test.go @@ -170,6 +170,12 @@ func ExampleEngineClient_ListEngines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListEnginesResponse) } } @@ -251,5 +257,11 @@ func ExampleEngineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/schema_client_example_test.go b/discoveryengine/apiv1/schema_client_example_test.go index 3d1d4d235eb3..88bfc9c79da0 100644 --- a/discoveryengine/apiv1/schema_client_example_test.go +++ b/discoveryengine/apiv1/schema_client_example_test.go @@ -170,6 +170,12 @@ func ExampleSchemaClient_ListSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListSchemasResponse) } } @@ -256,5 +262,11 @@ func ExampleSchemaClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/search_client_example_test.go b/discoveryengine/apiv1/search_client_example_test.go index fb23d484f1b3..bb765ce19c22 100644 --- a/discoveryengine/apiv1/search_client_example_test.go +++ b/discoveryengine/apiv1/search_client_example_test.go @@ -87,6 +87,12 @@ func ExampleSearchClient_Search() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.SearchResponse) } } @@ -143,5 +149,11 @@ func ExampleSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/site_search_engine_client_example_test.go b/discoveryengine/apiv1/site_search_engine_client_example_test.go index fec7ae5b6300..eae7ddc352de 100644 --- a/discoveryengine/apiv1/site_search_engine_client_example_test.go +++ b/discoveryengine/apiv1/site_search_engine_client_example_test.go @@ -265,6 +265,12 @@ func ExampleSiteSearchEngineClient_FetchDomainVerificationStatus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.FetchDomainVerificationStatusResponse) } } @@ -346,6 +352,12 @@ func ExampleSiteSearchEngineClient_ListTargetSites() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListTargetSitesResponse) } } @@ -462,5 +474,11 @@ func ExampleSiteSearchEngineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1/user_event_client_example_test.go b/discoveryengine/apiv1/user_event_client_example_test.go index 83809a6e63eb..4d129af8b832 100644 --- a/discoveryengine/apiv1/user_event_client_example_test.go +++ b/discoveryengine/apiv1/user_event_client_example_test.go @@ -192,5 +192,11 @@ func ExampleUserEventClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/acl_config_client_example_test.go b/discoveryengine/apiv1alpha/acl_config_client_example_test.go index 355645942152..64d6555d031c 100644 --- a/discoveryengine/apiv1alpha/acl_config_client_example_test.go +++ b/discoveryengine/apiv1alpha/acl_config_client_example_test.go @@ -162,5 +162,11 @@ func ExampleAclConfigClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/chunk_client_example_test.go b/discoveryengine/apiv1alpha/chunk_client_example_test.go index 8153fb1cc3af..4f4f92dc6340 100644 --- a/discoveryengine/apiv1alpha/chunk_client_example_test.go +++ b/discoveryengine/apiv1alpha/chunk_client_example_test.go @@ -112,6 +112,12 @@ func ExampleChunkClient_ListChunks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListChunksResponse) } } @@ -168,5 +174,11 @@ func ExampleChunkClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/completion_client_example_test.go b/discoveryengine/apiv1alpha/completion_client_example_test.go index 3be971a31163..c129c167b558 100644 --- a/discoveryengine/apiv1alpha/completion_client_example_test.go +++ b/discoveryengine/apiv1alpha/completion_client_example_test.go @@ -197,5 +197,11 @@ func ExampleCompletionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/conversational_search_client_example_test.go b/discoveryengine/apiv1alpha/conversational_search_client_example_test.go index f02657d42342..4193e480bedd 100644 --- a/discoveryengine/apiv1alpha/conversational_search_client_example_test.go +++ b/discoveryengine/apiv1alpha/conversational_search_client_example_test.go @@ -185,6 +185,12 @@ func ExampleConversationalSearchClient_ListConversations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListConversationsResponse) } } @@ -266,5 +272,11 @@ func ExampleConversationalSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/data_store_client_example_test.go b/discoveryengine/apiv1alpha/data_store_client_example_test.go index e2f1d33a4736..22245a3746c7 100644 --- a/discoveryengine/apiv1alpha/data_store_client_example_test.go +++ b/discoveryengine/apiv1alpha/data_store_client_example_test.go @@ -195,6 +195,12 @@ func ExampleDataStoreClient_ListDataStores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDataStoresResponse) } } @@ -301,5 +307,11 @@ func ExampleDataStoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/document_client_example_test.go b/discoveryengine/apiv1alpha/document_client_example_test.go index d1bb0239de09..ab5615dc0f2c 100644 --- a/discoveryengine/apiv1alpha/document_client_example_test.go +++ b/discoveryengine/apiv1alpha/document_client_example_test.go @@ -190,6 +190,12 @@ func ExampleDocumentClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDocumentsResponse) } } @@ -301,5 +307,11 @@ func ExampleDocumentClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/engine_client_example_test.go b/discoveryengine/apiv1alpha/engine_client_example_test.go index 2d07c1870093..d4c7b77fece2 100644 --- a/discoveryengine/apiv1alpha/engine_client_example_test.go +++ b/discoveryengine/apiv1alpha/engine_client_example_test.go @@ -170,6 +170,12 @@ func ExampleEngineClient_ListEngines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListEnginesResponse) } } @@ -331,5 +337,11 @@ func ExampleEngineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/estimate_billing_client_example_test.go b/discoveryengine/apiv1alpha/estimate_billing_client_example_test.go index dfbbf8ff0c78..516b89e61ace 100644 --- a/discoveryengine/apiv1alpha/estimate_billing_client_example_test.go +++ b/discoveryengine/apiv1alpha/estimate_billing_client_example_test.go @@ -142,5 +142,11 @@ func ExampleEstimateBillingClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/recommendation_client_example_test.go b/discoveryengine/apiv1alpha/recommendation_client_example_test.go index 8caf3100eb7c..fe8ddc98a4a1 100644 --- a/discoveryengine/apiv1alpha/recommendation_client_example_test.go +++ b/discoveryengine/apiv1alpha/recommendation_client_example_test.go @@ -137,5 +137,11 @@ func ExampleRecommendationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/schema_client_example_test.go b/discoveryengine/apiv1alpha/schema_client_example_test.go index 9386e0545bd5..9a8ade97fad4 100644 --- a/discoveryengine/apiv1alpha/schema_client_example_test.go +++ b/discoveryengine/apiv1alpha/schema_client_example_test.go @@ -170,6 +170,12 @@ func ExampleSchemaClient_ListSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListSchemasResponse) } } @@ -256,5 +262,11 @@ func ExampleSchemaClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/search_client_example_test.go b/discoveryengine/apiv1alpha/search_client_example_test.go index b68cd631e540..4cabb7357f75 100644 --- a/discoveryengine/apiv1alpha/search_client_example_test.go +++ b/discoveryengine/apiv1alpha/search_client_example_test.go @@ -87,6 +87,12 @@ func ExampleSearchClient_Search() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.SearchResponse) } } @@ -143,5 +149,11 @@ func ExampleSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/search_tuning_client_example_test.go b/discoveryengine/apiv1alpha/search_tuning_client_example_test.go index a680f70e8f14..082d6a5424a0 100644 --- a/discoveryengine/apiv1alpha/search_tuning_client_example_test.go +++ b/discoveryengine/apiv1alpha/search_tuning_client_example_test.go @@ -142,5 +142,11 @@ func ExampleSearchTuningClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/serving_config_client_example_test.go b/discoveryengine/apiv1alpha/serving_config_client_example_test.go index 02cc25902c5e..d593f3cd958d 100644 --- a/discoveryengine/apiv1alpha/serving_config_client_example_test.go +++ b/discoveryengine/apiv1alpha/serving_config_client_example_test.go @@ -112,6 +112,12 @@ func ExampleServingConfigClient_ListServingConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListServingConfigsResponse) } } @@ -193,5 +199,11 @@ func ExampleServingConfigClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/site_search_engine_client_example_test.go b/discoveryengine/apiv1alpha/site_search_engine_client_example_test.go index 9bd7279d4224..561adbabdeb8 100644 --- a/discoveryengine/apiv1alpha/site_search_engine_client_example_test.go +++ b/discoveryengine/apiv1alpha/site_search_engine_client_example_test.go @@ -265,6 +265,12 @@ func ExampleSiteSearchEngineClient_FetchDomainVerificationStatus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.FetchDomainVerificationStatusResponse) } } @@ -346,6 +352,12 @@ func ExampleSiteSearchEngineClient_ListTargetSites() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListTargetSitesResponse) } } @@ -462,5 +474,11 @@ func ExampleSiteSearchEngineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1alpha/user_event_client_example_test.go b/discoveryengine/apiv1alpha/user_event_client_example_test.go index d868e70f0730..59d812baf7d7 100644 --- a/discoveryengine/apiv1alpha/user_event_client_example_test.go +++ b/discoveryengine/apiv1alpha/user_event_client_example_test.go @@ -222,5 +222,11 @@ func ExampleUserEventClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/completion_client_example_test.go b/discoveryengine/apiv1beta/completion_client_example_test.go index 555c5beaf9bd..ae6924f397b9 100644 --- a/discoveryengine/apiv1beta/completion_client_example_test.go +++ b/discoveryengine/apiv1beta/completion_client_example_test.go @@ -197,5 +197,11 @@ func ExampleCompletionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/conversational_search_client_example_test.go b/discoveryengine/apiv1beta/conversational_search_client_example_test.go index 066b5fb241d7..c6135f3f77b6 100644 --- a/discoveryengine/apiv1beta/conversational_search_client_example_test.go +++ b/discoveryengine/apiv1beta/conversational_search_client_example_test.go @@ -185,6 +185,12 @@ func ExampleConversationalSearchClient_ListConversations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListConversationsResponse) } } @@ -266,5 +272,11 @@ func ExampleConversationalSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/data_store_client_example_test.go b/discoveryengine/apiv1beta/data_store_client_example_test.go index 1d76e21528c2..f6b6817a2486 100644 --- a/discoveryengine/apiv1beta/data_store_client_example_test.go +++ b/discoveryengine/apiv1beta/data_store_client_example_test.go @@ -170,6 +170,12 @@ func ExampleDataStoreClient_ListDataStores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDataStoresResponse) } } @@ -251,5 +257,11 @@ func ExampleDataStoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/document_client_example_test.go b/discoveryengine/apiv1beta/document_client_example_test.go index 26426ab2cae9..63a89e16ed5d 100644 --- a/discoveryengine/apiv1beta/document_client_example_test.go +++ b/discoveryengine/apiv1beta/document_client_example_test.go @@ -190,6 +190,12 @@ func ExampleDocumentClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDocumentsResponse) } } @@ -301,5 +307,11 @@ func ExampleDocumentClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/engine_client_example_test.go b/discoveryengine/apiv1beta/engine_client_example_test.go index 85c197c3327a..99485956f393 100644 --- a/discoveryengine/apiv1beta/engine_client_example_test.go +++ b/discoveryengine/apiv1beta/engine_client_example_test.go @@ -170,6 +170,12 @@ func ExampleEngineClient_ListEngines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListEnginesResponse) } } @@ -251,5 +257,11 @@ func ExampleEngineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/recommendation_client_example_test.go b/discoveryengine/apiv1beta/recommendation_client_example_test.go index b7235977153f..2e4ec01d77e6 100644 --- a/discoveryengine/apiv1beta/recommendation_client_example_test.go +++ b/discoveryengine/apiv1beta/recommendation_client_example_test.go @@ -137,5 +137,11 @@ func ExampleRecommendationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/schema_client_example_test.go b/discoveryengine/apiv1beta/schema_client_example_test.go index 8bf593b212c2..80062d0c7f3b 100644 --- a/discoveryengine/apiv1beta/schema_client_example_test.go +++ b/discoveryengine/apiv1beta/schema_client_example_test.go @@ -170,6 +170,12 @@ func ExampleSchemaClient_ListSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListSchemasResponse) } } @@ -256,5 +262,11 @@ func ExampleSchemaClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/search_client_example_test.go b/discoveryengine/apiv1beta/search_client_example_test.go index 5167ac897a98..0e7af3e0ec43 100644 --- a/discoveryengine/apiv1beta/search_client_example_test.go +++ b/discoveryengine/apiv1beta/search_client_example_test.go @@ -87,6 +87,12 @@ func ExampleSearchClient_Search() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.SearchResponse) } } @@ -143,5 +149,11 @@ func ExampleSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/search_tuning_client_example_test.go b/discoveryengine/apiv1beta/search_tuning_client_example_test.go index aa222e29be36..dd78bec20fab 100644 --- a/discoveryengine/apiv1beta/search_tuning_client_example_test.go +++ b/discoveryengine/apiv1beta/search_tuning_client_example_test.go @@ -142,5 +142,11 @@ func ExampleSearchTuningClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/serving_config_client_example_test.go b/discoveryengine/apiv1beta/serving_config_client_example_test.go index 69a0b683f958..f984639042fe 100644 --- a/discoveryengine/apiv1beta/serving_config_client_example_test.go +++ b/discoveryengine/apiv1beta/serving_config_client_example_test.go @@ -112,6 +112,12 @@ func ExampleServingConfigClient_ListServingConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListServingConfigsResponse) } } @@ -193,5 +199,11 @@ func ExampleServingConfigClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/site_search_engine_client_example_test.go b/discoveryengine/apiv1beta/site_search_engine_client_example_test.go index 1ecf1a7680b1..9d92a2a013d2 100644 --- a/discoveryengine/apiv1beta/site_search_engine_client_example_test.go +++ b/discoveryengine/apiv1beta/site_search_engine_client_example_test.go @@ -265,6 +265,12 @@ func ExampleSiteSearchEngineClient_FetchDomainVerificationStatus() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.FetchDomainVerificationStatusResponse) } } @@ -346,6 +352,12 @@ func ExampleSiteSearchEngineClient_ListTargetSites() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListTargetSitesResponse) } } @@ -462,5 +474,11 @@ func ExampleSiteSearchEngineClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/discoveryengine/apiv1beta/user_event_client_example_test.go b/discoveryengine/apiv1beta/user_event_client_example_test.go index d59af0d80683..0e90af179469 100644 --- a/discoveryengine/apiv1beta/user_event_client_example_test.go +++ b/discoveryengine/apiv1beta/user_event_client_example_test.go @@ -192,5 +192,11 @@ func ExampleUserEventClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/dlp/apiv2/dlp_client_example_test.go b/dlp/apiv2/dlp_client_example_test.go index 01a46da5b57e..250298575e72 100644 --- a/dlp/apiv2/dlp_client_example_test.go +++ b/dlp/apiv2/dlp_client_example_test.go @@ -770,6 +770,12 @@ func ExampleClient_ListColumnDataProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListColumnDataProfilesResponse) } } @@ -801,6 +807,12 @@ func ExampleClient_ListDeidentifyTemplates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListDeidentifyTemplatesResponse) } } @@ -832,6 +844,12 @@ func ExampleClient_ListDiscoveryConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListDiscoveryConfigsResponse) } } @@ -863,6 +881,12 @@ func ExampleClient_ListDlpJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListDlpJobsResponse) } } @@ -919,6 +943,12 @@ func ExampleClient_ListInspectTemplates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListInspectTemplatesResponse) } } @@ -950,6 +980,12 @@ func ExampleClient_ListJobTriggers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListJobTriggersResponse) } } @@ -981,6 +1017,12 @@ func ExampleClient_ListProjectDataProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListProjectDataProfilesResponse) } } @@ -1012,6 +1054,12 @@ func ExampleClient_ListStoredInfoTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListStoredInfoTypesResponse) } } @@ -1043,6 +1091,12 @@ func ExampleClient_ListTableDataProfiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListTableDataProfilesResponse) } } diff --git a/documentai/apiv1/document_processor_client_example_test.go b/documentai/apiv1/document_processor_client_example_test.go index ea3649cb7553..3d061c891a04 100644 --- a/documentai/apiv1/document_processor_client_example_test.go +++ b/documentai/apiv1/document_processor_client_example_test.go @@ -444,6 +444,12 @@ func ExampleDocumentProcessorClient_ListEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListEvaluationsResponse) } } @@ -475,6 +481,12 @@ func ExampleDocumentProcessorClient_ListProcessorTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorTypesResponse) } } @@ -506,6 +518,12 @@ func ExampleDocumentProcessorClient_ListProcessorVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorVersionsResponse) } } @@ -537,6 +555,12 @@ func ExampleDocumentProcessorClient_ListProcessors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorsResponse) } } @@ -738,6 +762,12 @@ func ExampleDocumentProcessorClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -817,5 +847,11 @@ func ExampleDocumentProcessorClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/documentai/apiv1beta3/document_client_example_test.go b/documentai/apiv1beta3/document_client_example_test.go index f086771c2e5a..9bbc2012e829 100644 --- a/documentai/apiv1beta3/document_client_example_test.go +++ b/documentai/apiv1beta3/document_client_example_test.go @@ -198,6 +198,12 @@ func ExampleDocumentClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListDocumentsResponse) } } @@ -309,6 +315,12 @@ func ExampleDocumentClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -388,5 +400,11 @@ func ExampleDocumentClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/documentai/apiv1beta3/document_processor_client_example_test.go b/documentai/apiv1beta3/document_processor_client_example_test.go index 98116736867a..06f0aee341e8 100644 --- a/documentai/apiv1beta3/document_processor_client_example_test.go +++ b/documentai/apiv1beta3/document_processor_client_example_test.go @@ -474,6 +474,12 @@ func ExampleDocumentProcessorClient_ListEvaluations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListEvaluationsResponse) } } @@ -505,6 +511,12 @@ func ExampleDocumentProcessorClient_ListProcessorTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorTypesResponse) } } @@ -536,6 +548,12 @@ func ExampleDocumentProcessorClient_ListProcessorVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorVersionsResponse) } } @@ -567,6 +585,12 @@ func ExampleDocumentProcessorClient_ListProcessors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorsResponse) } } @@ -768,6 +792,12 @@ func ExampleDocumentProcessorClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -847,5 +877,11 @@ func ExampleDocumentProcessorClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/domains/apiv1beta1/domains_client_example_test.go b/domains/apiv1beta1/domains_client_example_test.go index dd426c3d4af3..64e7dbf6cce9 100644 --- a/domains/apiv1beta1/domains_client_example_test.go +++ b/domains/apiv1beta1/domains_client_example_test.go @@ -259,6 +259,12 @@ func ExampleClient_ListRegistrations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*domainspb.ListRegistrationsResponse) } } diff --git a/edgecontainer/apiv1/edge_container_client_example_test.go b/edgecontainer/apiv1/edge_container_client_example_test.go index 10a37046a938..f1f91156ae93 100644 --- a/edgecontainer/apiv1/edge_container_client_example_test.go +++ b/edgecontainer/apiv1/edge_container_client_example_test.go @@ -437,6 +437,12 @@ func ExampleClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListClustersResponse) } } @@ -468,6 +474,12 @@ func ExampleClient_ListMachines() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListMachinesResponse) } } @@ -499,6 +511,12 @@ func ExampleClient_ListNodePools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListNodePoolsResponse) } } @@ -530,6 +548,12 @@ func ExampleClient_ListVpnConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListVpnConnectionsResponse) } } @@ -676,6 +700,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -778,5 +808,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/edgenetwork/apiv1/edge_network_client_example_test.go b/edgenetwork/apiv1/edge_network_client_example_test.go index f1403629f2f3..f184b0630c9d 100644 --- a/edgenetwork/apiv1/edge_network_client_example_test.go +++ b/edgenetwork/apiv1/edge_network_client_example_test.go @@ -570,6 +570,12 @@ func ExampleClient_ListInterconnectAttachments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListInterconnectAttachmentsResponse) } } @@ -601,6 +607,12 @@ func ExampleClient_ListInterconnects() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListInterconnectsResponse) } } @@ -632,6 +644,12 @@ func ExampleClient_ListNetworks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListNetworksResponse) } } @@ -663,6 +681,12 @@ func ExampleClient_ListRouters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListRoutersResponse) } } @@ -694,6 +718,12 @@ func ExampleClient_ListSubnets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListSubnetsResponse) } } @@ -725,6 +755,12 @@ func ExampleClient_ListZones() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListZonesResponse) } } @@ -841,6 +877,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -943,5 +985,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/essentialcontacts/apiv1/doc.go b/essentialcontacts/apiv1/doc.go index 3393476e1d3d..89aa0208bef9 100755 --- a/essentialcontacts/apiv1/doc.go +++ b/essentialcontacts/apiv1/doc.go @@ -80,6 +80,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*essentialcontactspb.ComputeContactsResponse) // } // // # Use of Context diff --git a/essentialcontacts/apiv1/essential_contacts_client_example_test.go b/essentialcontacts/apiv1/essential_contacts_client_example_test.go index 473a83d2f875..6ea6f1554854 100644 --- a/essentialcontacts/apiv1/essential_contacts_client_example_test.go +++ b/essentialcontacts/apiv1/essential_contacts_client_example_test.go @@ -86,6 +86,12 @@ func ExampleClient_ComputeContacts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*essentialcontactspb.ComputeContactsResponse) } } @@ -190,6 +196,12 @@ func ExampleClient_ListContacts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*essentialcontactspb.ListContactsResponse) } } diff --git a/eventarc/apiv1/eventarc_client_example_test.go b/eventarc/apiv1/eventarc_client_example_test.go index e2dcd292ed72..34ca7012abb9 100644 --- a/eventarc/apiv1/eventarc_client_example_test.go +++ b/eventarc/apiv1/eventarc_client_example_test.go @@ -394,6 +394,12 @@ func ExampleClient_ListChannelConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListChannelConnectionsResponse) } } @@ -425,6 +431,12 @@ func ExampleClient_ListChannels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListChannelsResponse) } } @@ -456,6 +468,12 @@ func ExampleClient_ListProviders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListProvidersResponse) } } @@ -487,6 +505,12 @@ func ExampleClient_ListTriggers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListTriggersResponse) } } @@ -628,6 +652,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -805,5 +835,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/filestore/apiv1/cloud_filestore_manager_client_example_test.go b/filestore/apiv1/cloud_filestore_manager_client_example_test.go index 23dc9811188d..19fdf4465938 100644 --- a/filestore/apiv1/cloud_filestore_manager_client_example_test.go +++ b/filestore/apiv1/cloud_filestore_manager_client_example_test.go @@ -337,6 +337,12 @@ func ExampleCloudFilestoreManagerClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*filestorepb.ListBackupsResponse) } } @@ -368,6 +374,12 @@ func ExampleCloudFilestoreManagerClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*filestorepb.ListInstancesResponse) } } @@ -399,6 +411,12 @@ func ExampleCloudFilestoreManagerClient_ListSnapshots() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*filestorepb.ListSnapshotsResponse) } } @@ -605,6 +623,12 @@ func ExampleCloudFilestoreManagerClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -707,5 +731,11 @@ func ExampleCloudFilestoreManagerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go index 96881477f0c1..ffa7b3fcf17e 100755 --- a/firestore/apiv1/admin/adminpb/firestore_admin.pb.go +++ b/firestore/apiv1/admin/adminpb/firestore_admin.pb.go @@ -806,7 +806,7 @@ type DeleteBackupScheduleRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Required. The name of backup schedule. + // Required. The name of the backup schedule. // // Format // `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}` diff --git a/firestore/apiv1/admin/adminpb/schedule.pb.go b/firestore/apiv1/admin/adminpb/schedule.pb.go index f963f69c2fb9..6e4d475da656 100755 --- a/firestore/apiv1/admin/adminpb/schedule.pb.go +++ b/firestore/apiv1/admin/adminpb/schedule.pb.go @@ -163,12 +163,12 @@ type isBackupSchedule_Recurrence interface { } type BackupSchedule_DailyRecurrence struct { - // For a schedule that runs daily at a specified time. + // For a schedule that runs daily. DailyRecurrence *DailyRecurrence `protobuf:"bytes,7,opt,name=daily_recurrence,json=dailyRecurrence,proto3,oneof"` } type BackupSchedule_WeeklyRecurrence struct { - // For a schedule that runs weekly on a specific day and time. + // For a schedule that runs weekly on a specific day. WeeklyRecurrence *WeeklyRecurrence `protobuf:"bytes,8,opt,name=weekly_recurrence,json=weeklyRecurrence,proto3,oneof"` } @@ -176,7 +176,7 @@ func (*BackupSchedule_DailyRecurrence) isBackupSchedule_Recurrence() {} func (*BackupSchedule_WeeklyRecurrence) isBackupSchedule_Recurrence() {} -// Represent a recurring schedule that runs at a specific time every day. +// Represents a recurring schedule that runs at a specific time every day. // // The time zone is UTC. type DailyRecurrence struct { diff --git a/firestore/apiv1/admin/firestore_admin_client_example_test.go b/firestore/apiv1/admin/firestore_admin_client_example_test.go index 351e2f52915b..62c952d1939d 100644 --- a/firestore/apiv1/admin/firestore_admin_client_example_test.go +++ b/firestore/apiv1/admin/firestore_admin_client_example_test.go @@ -529,6 +529,12 @@ func ExampleFirestoreAdminClient_ListFields() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListFieldsResponse) } } @@ -560,6 +566,12 @@ func ExampleFirestoreAdminClient_ListIndexes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListIndexesResponse) } } @@ -777,5 +789,11 @@ func ExampleFirestoreAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/firestore/apiv1/firestore_client_example_test.go b/firestore/apiv1/firestore_client_example_test.go index 2aaa909fcdaa..09bc13756af5 100644 --- a/firestore/apiv1/firestore_client_example_test.go +++ b/firestore/apiv1/firestore_client_example_test.go @@ -236,6 +236,12 @@ func ExampleClient_ListCollectionIds() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*firestorepb.ListCollectionIdsResponse) } } @@ -267,6 +273,12 @@ func ExampleClient_ListDocuments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*firestorepb.ListDocumentsResponse) } } @@ -338,6 +350,12 @@ func ExampleClient_PartitionQuery() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*firestorepb.PartitionQueryResponse) } } @@ -528,5 +546,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/functions/apiv1/cloud_functions_client_example_test.go b/functions/apiv1/cloud_functions_client_example_test.go index 97ad3b75364a..fabb9d8d471a 100644 --- a/functions/apiv1/cloud_functions_client_example_test.go +++ b/functions/apiv1/cloud_functions_client_example_test.go @@ -272,6 +272,12 @@ func ExampleCloudFunctionsClient_ListFunctions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*functionspb.ListFunctionsResponse) } } @@ -383,6 +389,12 @@ func ExampleCloudFunctionsClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -439,5 +451,11 @@ func ExampleCloudFunctionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/functions/apiv2/function_client_example_test.go b/functions/apiv2/function_client_example_test.go index 2892ace6ae48..73ed23e7b29f 100644 --- a/functions/apiv2/function_client_example_test.go +++ b/functions/apiv2/function_client_example_test.go @@ -222,6 +222,12 @@ func ExampleFunctionClient_ListFunctions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*functionspb.ListFunctionsResponse) } } @@ -308,6 +314,12 @@ func ExampleFunctionClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -439,5 +451,11 @@ func ExampleFunctionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/functions/apiv2beta/function_client_example_test.go b/functions/apiv2beta/function_client_example_test.go index d27ed5dbb6cf..e0e0fb766555 100644 --- a/functions/apiv2beta/function_client_example_test.go +++ b/functions/apiv2beta/function_client_example_test.go @@ -222,6 +222,12 @@ func ExampleFunctionClient_ListFunctions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*functionspb.ListFunctionsResponse) } } @@ -308,6 +314,12 @@ func ExampleFunctionClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -439,5 +451,11 @@ func ExampleFunctionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/gkebackup/apiv1/backup_forgke_client_example_test.go b/gkebackup/apiv1/backup_forgke_client_example_test.go index 3d1dd4384cd9..b6112fd3c4dd 100644 --- a/gkebackup/apiv1/backup_forgke_client_example_test.go +++ b/gkebackup/apiv1/backup_forgke_client_example_test.go @@ -496,6 +496,12 @@ func ExampleBackupForGKEClient_ListBackupPlans() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListBackupPlansResponse) } } @@ -527,6 +533,12 @@ func ExampleBackupForGKEClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListBackupsResponse) } } @@ -558,6 +570,12 @@ func ExampleBackupForGKEClient_ListRestorePlans() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListRestorePlansResponse) } } @@ -589,6 +607,12 @@ func ExampleBackupForGKEClient_ListRestores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListRestoresResponse) } } @@ -620,6 +644,12 @@ func ExampleBackupForGKEClient_ListVolumeBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListVolumeBackupsResponse) } } @@ -651,6 +681,12 @@ func ExampleBackupForGKEClient_ListVolumeRestores() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListVolumeRestoresResponse) } } @@ -827,6 +863,12 @@ func ExampleBackupForGKEClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1004,5 +1046,11 @@ func ExampleBackupForGKEClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/gkehub/apiv1beta1/gke_hub_membership_client_example_test.go b/gkehub/apiv1beta1/gke_hub_membership_client_example_test.go index e91ccd214980..f415939f5b01 100644 --- a/gkehub/apiv1beta1/gke_hub_membership_client_example_test.go +++ b/gkehub/apiv1beta1/gke_hub_membership_client_example_test.go @@ -222,6 +222,12 @@ func ExampleGkeHubMembershipClient_ListMemberships() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkehubpb.ListMembershipsResponse) } } @@ -333,6 +339,12 @@ func ExampleGkeHubMembershipClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -510,5 +522,11 @@ func ExampleGkeHubMembershipClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/gkemulticloud/apiv1/attached_clusters_client_example_test.go b/gkemulticloud/apiv1/attached_clusters_client_example_test.go index 7dfb8ad9a26c..bcd76ada8be0 100644 --- a/gkemulticloud/apiv1/attached_clusters_client_example_test.go +++ b/gkemulticloud/apiv1/attached_clusters_client_example_test.go @@ -258,6 +258,12 @@ func ExampleAttachedClustersClient_ListAttachedClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAttachedClustersResponse) } } @@ -390,5 +396,11 @@ func ExampleAttachedClustersClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/gkemulticloud/apiv1/aws_clusters_client_example_test.go b/gkemulticloud/apiv1/aws_clusters_client_example_test.go index 98c681745595..a0cd312f9547 100644 --- a/gkemulticloud/apiv1/aws_clusters_client_example_test.go +++ b/gkemulticloud/apiv1/aws_clusters_client_example_test.go @@ -361,6 +361,12 @@ func ExampleAwsClustersClient_ListAwsClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAwsClustersResponse) } } @@ -392,6 +398,12 @@ func ExampleAwsClustersClient_ListAwsNodePools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAwsNodePoolsResponse) } } @@ -584,5 +596,11 @@ func ExampleAwsClustersClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/gkemulticloud/apiv1/azure_clusters_client_example_test.go b/gkemulticloud/apiv1/azure_clusters_client_example_test.go index 9c671418151d..89be1bc13da9 100644 --- a/gkemulticloud/apiv1/azure_clusters_client_example_test.go +++ b/gkemulticloud/apiv1/azure_clusters_client_example_test.go @@ -444,6 +444,12 @@ func ExampleAzureClustersClient_ListAzureClients() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAzureClientsResponse) } } @@ -475,6 +481,12 @@ func ExampleAzureClustersClient_ListAzureClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAzureClustersResponse) } } @@ -506,6 +518,12 @@ func ExampleAzureClustersClient_ListAzureNodePools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAzureNodePoolsResponse) } } @@ -668,5 +686,11 @@ func ExampleAzureClustersClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/gsuiteaddons/apiv1/g_suite_add_ons_client_example_test.go b/gsuiteaddons/apiv1/g_suite_add_ons_client_example_test.go index 72bf5ba2beef..ea5a84b4ef3d 100644 --- a/gsuiteaddons/apiv1/g_suite_add_ons_client_example_test.go +++ b/gsuiteaddons/apiv1/g_suite_add_ons_client_example_test.go @@ -232,6 +232,12 @@ func ExampleClient_ListDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gsuiteaddonspb.ListDeploymentsResponse) } } diff --git a/iam/apiv2/policies_client_example_test.go b/iam/apiv2/policies_client_example_test.go index c5eea338afb4..e1f5f80e1aa9 100644 --- a/iam/apiv2/policies_client_example_test.go +++ b/iam/apiv2/policies_client_example_test.go @@ -172,6 +172,12 @@ func ExamplePoliciesClient_ListPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iampb.ListPoliciesResponse) } } diff --git a/iap/apiv1/identity_aware_proxy_admin_client_example_test.go b/iap/apiv1/identity_aware_proxy_admin_client_example_test.go index bda2a92b257a..b5596172355c 100644 --- a/iap/apiv1/identity_aware_proxy_admin_client_example_test.go +++ b/iap/apiv1/identity_aware_proxy_admin_client_example_test.go @@ -210,6 +210,12 @@ func ExampleIdentityAwareProxyAdminClient_ListTunnelDestGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iappb.ListTunnelDestGroupsResponse) } } diff --git a/iap/apiv1/identity_aware_proxyo_auth_client_example_test.go b/iap/apiv1/identity_aware_proxyo_auth_client_example_test.go index b9e34bcfaa2c..53048d8f78b8 100644 --- a/iap/apiv1/identity_aware_proxyo_auth_client_example_test.go +++ b/iap/apiv1/identity_aware_proxyo_auth_client_example_test.go @@ -234,6 +234,12 @@ func ExampleIdentityAwareProxyOAuthClient_ListIdentityAwareProxyClients() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iappb.ListIdentityAwareProxyClientsResponse) } } diff --git a/ids/apiv1/ids_client_example_test.go b/ids/apiv1/ids_client_example_test.go index 7c06064506a2..7adc9a5947d1 100644 --- a/ids/apiv1/ids_client_example_test.go +++ b/ids/apiv1/ids_client_example_test.go @@ -169,5 +169,11 @@ func ExampleClient_ListEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*idspb.ListEndpointsResponse) } } diff --git a/internal/generated/snippets/accessapproval/apiv1/Client/ListApprovalRequests/main.go b/internal/generated/snippets/accessapproval/apiv1/Client/ListApprovalRequests/main.go index 41137b196c3c..6dafd8fa14df 100644 --- a/internal/generated/snippets/accessapproval/apiv1/Client/ListApprovalRequests/main.go +++ b/internal/generated/snippets/accessapproval/apiv1/Client/ListApprovalRequests/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accessapprovalpb.ListApprovalRequestsResponse) } } diff --git a/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json b/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json index a33647ce9085..cec640fe6a6c 100644 --- a/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json +++ b/internal/generated/snippets/accessapproval/apiv1/snippet_metadata.google.cloud.accessapproval.v1.json @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessLevels/main.go b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessLevels/main.go index c88338b3e205..1ba42afa4744 100644 --- a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessLevels/main.go +++ b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessLevels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListAccessLevelsResponse) } } diff --git a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessPolicies/main.go b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessPolicies/main.go index 440424ce94e2..f47dcc30ac96 100644 --- a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessPolicies/main.go +++ b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListAccessPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListAccessPoliciesResponse) } } diff --git a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListGcpUserAccessBindings/main.go b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListGcpUserAccessBindings/main.go index 2b9164b210fb..b103f4f0c69b 100644 --- a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListGcpUserAccessBindings/main.go +++ b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListGcpUserAccessBindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListGcpUserAccessBindingsResponse) } } diff --git a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListServicePerimeters/main.go b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListServicePerimeters/main.go index 0a2b82ef3202..d3c9c82101d1 100644 --- a/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListServicePerimeters/main.go +++ b/internal/generated/snippets/accesscontextmanager/apiv1/Client/ListServicePerimeters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*accesscontextmanagerpb.ListServicePerimetersResponse) } } diff --git a/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json b/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json index 9c9d0b7c386f..8d7367fa0407 100644 --- a/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json +++ b/internal/generated/snippets/accesscontextmanager/apiv1/snippet_metadata.google.identity.accesscontextmanager.v1.json @@ -742,7 +742,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -788,7 +788,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -834,7 +834,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -880,7 +880,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/advisorynotifications/apiv1/Client/ListNotifications/main.go b/internal/generated/snippets/advisorynotifications/apiv1/Client/ListNotifications/main.go index 8f92815736ec..70651a673c44 100644 --- a/internal/generated/snippets/advisorynotifications/apiv1/Client/ListNotifications/main.go +++ b/internal/generated/snippets/advisorynotifications/apiv1/Client/ListNotifications/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*advisorynotificationspb.ListNotificationsResponse) } } diff --git a/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json b/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json index 00deda038268..170105f72651 100644 --- a/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json +++ b/internal/generated/snippets/advisorynotifications/apiv1/snippet_metadata.google.cloud.advisorynotifications.v1.json @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1/GenerativeClient/ListOperations/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1/GenerativeClient/ListOperations/main.go index 7d50b20560f7..094e137cb3fd 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1/GenerativeClient/ListOperations/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1/GenerativeClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListModels/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListModels/main.go index c8843a4706a2..2839b5b4b63f 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListModelsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListOperations/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListOperations/main.go index 3d26d1287617..4a2d920478fb 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListOperations/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1/ModelClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json b/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json index 1ae01adf9d04..2bb530d1239e 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1/snippet_metadata.google.ai.generativelanguage.v1.json @@ -327,7 +327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListModels/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListModels/main.go index 5bc0363fb55a..ee6f28117c95 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListModelsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListTunedModels/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListTunedModels/main.go index 90db7ebc1d18..14aac79f2850 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListTunedModels/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/ModelClient/ListTunedModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListTunedModelsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/PermissionClient/ListPermissions/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1beta/PermissionClient/ListPermissions/main.go index e382cc70c69d..bab5afe2a1f9 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/PermissionClient/ListPermissions/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/PermissionClient/ListPermissions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListPermissionsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListChunks/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListChunks/main.go index 2d307148b74b..70b9744d4d7f 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListChunks/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListChunks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListChunksResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListCorpora/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListCorpora/main.go index c44c00522ea1..aa306730d1d9 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListCorpora/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListCorpora/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListCorporaResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListDocuments/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListDocuments/main.go index 3d521fbcb2fb..c9c150145191 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListDocuments/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/RetrieverClient/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json b/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json index b7612a723a24..41a4e066c9a1 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta/snippet_metadata.google.ai.generativelanguage.v1beta.json @@ -557,7 +557,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -603,7 +603,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1518,7 +1518,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1564,7 +1564,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1610,7 +1610,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/ModelClient/ListModels/main.go b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/ModelClient/ListModels/main.go index 29ee02f42322..a5518e33b7eb 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*generativelanguagepb.ListModelsResponse) } } diff --git a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json index 3f3138fe4165..b7ac60d88212 100644 --- a/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json +++ b/internal/generated/snippets/ai/generativelanguage/apiv1beta2/snippet_metadata.google.ai.generativelanguage.v1beta2.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListAnnotations/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListAnnotations/main.go index 67f4709863a0..bc6670971120 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListAnnotations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListAnnotations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListAnnotationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDataItems/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDataItems/main.go index c01710f1bf9a..635ba74d6003 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDataItems/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDataItems/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataItemsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasetVersions/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasetVersions/main.go index df8a70bfeb5f..9355fdb1fec6 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasetVersions/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasetVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetVersionsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasets/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasets/main.go index e16565ff93bf..b650425cb41c 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasets/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListLocations/main.go index 28469a7a8579..79b615270980 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListOperations/main.go index b8a1f1501b3d..22bedd5bb718 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListSavedQueries/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListSavedQueries/main.go index bcb647c12fcb..951fc1f54a6f 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListSavedQueries/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/ListSavedQueries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSavedQueriesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/SearchDataItems/main.go b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/SearchDataItems/main.go index 4ad49360d07f..c6f3cd4091b6 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DatasetClient/SearchDataItems/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DatasetClient/SearchDataItems/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchDataItemsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go index 2eee77fdb2dd..789765835e12 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDeploymentResourcePoolsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListLocations/main.go index 4ccaf3e174e6..15c2a557f0ce 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListOperations/main.go index 52e895768608..41a7f7e7e034 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/QueryDeployedModels/main.go b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/QueryDeployedModels/main.go index 833918acdd23..ab78f30c0b96 100644 --- a/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/QueryDeployedModels/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/DeploymentResourcePoolClient/QueryDeployedModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.QueryDeployedModelsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListEndpoints/main.go b/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListEndpoints/main.go index b90d800f4de5..6496fff178e6 100644 --- a/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListEndpoints/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEndpointsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListLocations/main.go index 3001dee97699..1be902ad80f5 100644 --- a/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListOperations/main.go index c13c9ed2e4ff..803f4f0ac505 100644 --- a/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/EndpointClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go index efc1bf5fc759..cd2f5cee8e48 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureOnlineStoresResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go index 86b574b5ac27..c288c75703bb 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewSyncsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go index 508ec4a88777..3e50124a2dd8 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListLocations/main.go index a09ff40aa908..87afb1108495 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListOperations/main.go index db21dc756a1a..86bb547f79f3 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListLocations/main.go index 829798215531..db622c3386f6 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListOperations/main.go index 4d3988d1a093..7152bb28d35d 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureOnlineStoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatureGroups/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatureGroups/main.go index 93694853087e..2882d4d952a2 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatureGroups/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatureGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureGroupsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatures/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatures/main.go index 7289534eaac1..1526c46e429b 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatures/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListFeatures/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListLocations/main.go index 68d640e48ba1..9bc4a9b848dd 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListOperations/main.go index 4fa129032efc..192fe87b8be7 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeatureRegistryClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListEntityTypes/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListEntityTypes/main.go index 9a95b930ae41..60a00864f154 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListEntityTypes/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEntityTypesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeatures/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeatures/main.go index b8e0c65d63b7..74ce525ff074 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeatures/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeatures/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeaturestores/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeaturestores/main.go index e1a035792137..92638e8374c3 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeaturestores/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListFeaturestores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturestoresResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListLocations/main.go index a6945e3088f7..6683d4e3417b 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListOperations/main.go index 241ca9c28b08..2df70bb5d847 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/SearchFeatures/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/SearchFeatures/main.go index 05d6f4f0640c..c5518333a79a 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/SearchFeatures/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreClient/SearchFeatures/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchFeaturesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListLocations/main.go index 3131e4db870e..3fb7719cf9de 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListOperations/main.go index d6bd2940b512..217e3b4413ad 100644 --- a/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/FeaturestoreOnlineServingClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListIndexes/main.go b/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListIndexes/main.go index 35aa3b49a5c8..53033ebad451 100644 --- a/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListIndexes/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListIndexes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListLocations/main.go index aa28cd294eaf..00320cd0b092 100644 --- a/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListOperations/main.go index 7d8b4c242912..783cd0455471 100644 --- a/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/IndexClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListIndexEndpoints/main.go b/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListIndexEndpoints/main.go index 4d4d1b9cccc8..a49b079fdf85 100644 --- a/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListIndexEndpoints/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListIndexEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexEndpointsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListLocations/main.go index 4133cf014718..e8fc7b7897d5 100644 --- a/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListOperations/main.go index 12cd5684568d..8ac8e0863118 100644 --- a/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/IndexEndpointClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListBatchPredictionJobs/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListBatchPredictionJobs/main.go index 79af6926b97c..fd0c0f07646c 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListBatchPredictionJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListBatchPredictionJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListBatchPredictionJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListCustomJobs/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListCustomJobs/main.go index c6f22db9e9d8..733849809b87 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListCustomJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListCustomJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListCustomJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListDataLabelingJobs/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListDataLabelingJobs/main.go index a6a7360b1851..bc7b9a6b7dc4 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListDataLabelingJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListDataLabelingJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataLabelingJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListHyperparameterTuningJobs/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListHyperparameterTuningJobs/main.go index 8e400f14f0bc..8e2041415f59 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListHyperparameterTuningJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListHyperparameterTuningJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListHyperparameterTuningJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListLocations/main.go index 4a4e895858ed..96d627d588ad 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListModelDeploymentMonitoringJobs/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListModelDeploymentMonitoringJobs/main.go index 90bd4ecfb889..f03501ee526a 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListModelDeploymentMonitoringJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListModelDeploymentMonitoringJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelDeploymentMonitoringJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasJobs/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasJobs/main.go index f456878eac84..dc05f4709cb6 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasTrialDetails/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasTrialDetails/main.go index 563648871689..f7dd7855d5d5 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasTrialDetails/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListNasTrialDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasTrialDetailsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListOperations/main.go index f04407278d9c..e88e0f3f016b 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go b/internal/generated/snippets/aiplatform/apiv1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go index d15d0055d565..df6f040d2701 100644 --- a/internal/generated/snippets/aiplatform/apiv1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListLocations/main.go index a1c99472197f..b233709e42c8 100644 --- a/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListOperations/main.go index d899ddcba06a..73be8441b645 100644 --- a/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/LlmUtilityClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListLocations/main.go index 26fecdd470c2..d35c22c7d084 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListOperations/main.go index 925816e9eb1c..abfed9480bc3 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MatchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListArtifacts/main.go b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListArtifacts/main.go index aa1f18fcd815..382736b9ca82 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListArtifacts/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListArtifacts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListArtifactsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListContexts/main.go b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListContexts/main.go index bea49b7a91fd..8922e23304ef 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListContexts/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListContexts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListContextsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListExecutions/main.go b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListExecutions/main.go index 1864f5243d21..1dfe85d93333 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListExecutions/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListExecutions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListExecutionsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListLocations/main.go index dd01438da6f7..3574fc6944e0 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataSchemas/main.go b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataSchemas/main.go index 7b63cac60122..fb2687902709 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataSchemas/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataSchemasResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataStores/main.go b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataStores/main.go index 3bf6c3deaaf7..fa7da19dd222 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataStores/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListMetadataStores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataStoresResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListOperations/main.go index 151e42193ba1..0ed64689510e 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MetadataClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListLocations/main.go index 62090d906709..03b944f36151 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListOperations/main.go index 6a67cb5ed541..a763a1832f39 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MigrationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/MigrationClient/SearchMigratableResources/main.go b/internal/generated/snippets/aiplatform/apiv1/MigrationClient/SearchMigratableResources/main.go index 524e28910fa3..f6c8a38ec3df 100644 --- a/internal/generated/snippets/aiplatform/apiv1/MigrationClient/SearchMigratableResources/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/MigrationClient/SearchMigratableResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchMigratableResourcesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListLocations/main.go index 1916c94aee53..2a6f08af0cff 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluationSlices/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluationSlices/main.go index 1bf0e2efd5dc..80611b8f8d27 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluationSlices/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluationSlices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationSlicesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluations/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluations/main.go index 01014b1b1a5e..decd629a307a 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelVersions/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelVersions/main.go index 0dccd264a1e0..95659d54ffd0 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelVersions/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModelVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelVersionsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModels/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModels/main.go index 92b566f9396f..6c91f7aa0b54 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListOperations/main.go index 90fc01b0f6c7..89124e998ef1 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListLocations/main.go index 3dcfc282cf34..8a7fe1a53a7c 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListOperations/main.go index 08bf915f68ce..2038a9dc7f64 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ModelGardenClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListLocations/main.go index 6d85206a0606..b31f96738988 100644 --- a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListOperations/main.go index 1abd09756629..79ea4d34ac03 100644 --- a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListPipelineJobs/main.go b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListPipelineJobs/main.go index 506fcb06a666..7e1a05524ce8 100644 --- a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListPipelineJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListPipelineJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPipelineJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListTrainingPipelines/main.go b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListTrainingPipelines/main.go index af9b9a4bbf6c..fd7981a4bf24 100644 --- a/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListTrainingPipelines/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/PipelineClient/ListTrainingPipelines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrainingPipelinesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListLocations/main.go index 8854212aa557..aaf8bd7077f0 100644 --- a/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListOperations/main.go index 83674ff2638b..d648ed906f71 100644 --- a/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/PredictionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListLocations/main.go index 964c8130da73..23ec58df1a5f 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListOperations/main.go index 61bcc8b45524..e434b2158016 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListSchedules/main.go b/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListSchedules/main.go index 211153693c1e..38229a7160c3 100644 --- a/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListSchedules/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/ScheduleClient/ListSchedules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSchedulesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListLocations/main.go index ebc80c3f6b73..bdf097925240 100644 --- a/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListOperations/main.go index 8267e8adde7f..b1b6cb757f73 100644 --- a/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListSpecialistPools/main.go b/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListSpecialistPools/main.go index e2625df655ad..2440cbd17c5a 100644 --- a/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListSpecialistPools/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/SpecialistPoolClient/ListSpecialistPools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSpecialistPoolsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go index 3cbf9b60eaf2..005aa122b029 100644 --- a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ExportTensorboardTimeSeriesDataResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListLocations/main.go index af3d60738b29..d726cdb70689 100644 --- a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListOperations/main.go index 88c44725f127..f0eed65996c2 100644 --- a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardExperiments/main.go b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardExperiments/main.go index 896c41bd8e33..b3110e6ae9a2 100644 --- a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardExperiments/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardExperiments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardExperimentsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardRuns/main.go b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardRuns/main.go index 377fc14ea222..f3156da40f38 100644 --- a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardRuns/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardRuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardRunsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardTimeSeries/main.go b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardTimeSeries/main.go index a99f08f49d78..40f5429f365c 100644 --- a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardTimeSeries/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboardTimeSeries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardTimeSeriesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboards/main.go b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboards/main.go index 0b81c4ef4b7f..cc138b30b6e9 100644 --- a/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboards/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/TensorboardClient/ListTensorboards/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListLocations/main.go index 23df1f0831b5..f0bfe4b69d96 100644 --- a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListOperations/main.go index c41cccda1ddd..b733a109c915 100644 --- a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListStudies/main.go b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListStudies/main.go index b5042ae771b7..2a512dcf71bb 100644 --- a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListStudies/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListStudies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListStudiesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListTrials/main.go b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListTrials/main.go index 122484b2537b..e8040595291c 100644 --- a/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListTrials/main.go +++ b/internal/generated/snippets/aiplatform/apiv1/VizierClient/ListTrials/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrialsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json index ec513e751b48..a9727c8097b0 100644 --- a/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json +++ b/internal/generated/snippets/aiplatform/apiv1/snippet_metadata.google.cloud.aiplatform.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1", - "version": "1.65.0", + "version": "1.66.0", "language": "GO", "apis": [ { @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1704,7 +1704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1842,7 +1842,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2438,7 +2438,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2484,7 +2484,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2530,7 +2530,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3402,7 +3402,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3448,7 +3448,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3494,7 +3494,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3540,7 +3540,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3586,7 +3586,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4182,7 +4182,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4228,7 +4228,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4962,7 +4962,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5008,7 +5008,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5054,7 +5054,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5100,7 +5100,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5604,7 +5604,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5650,7 +5650,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6798,7 +6798,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6844,7 +6844,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6890,7 +6890,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6936,7 +6936,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6982,7 +6982,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7028,7 +7028,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7762,7 +7762,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7808,7 +7808,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7854,7 +7854,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8542,7 +8542,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8588,7 +8588,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8634,7 +8634,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10283,7 +10283,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10329,7 +10329,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10375,7 +10375,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10421,7 +10421,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10467,7 +10467,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10513,7 +10513,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10559,7 +10559,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10605,7 +10605,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10651,7 +10651,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10787,7 +10787,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11337,7 +11337,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11383,7 +11383,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11841,7 +11841,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11887,7 +11887,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13127,7 +13127,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13173,7 +13173,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13219,7 +13219,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13265,7 +13265,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13311,7 +13311,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13357,7 +13357,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13403,7 +13403,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14321,7 +14321,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14367,7 +14367,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14413,7 +14413,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14871,7 +14871,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14917,7 +14917,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15789,7 +15789,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15835,7 +15835,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15881,7 +15881,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15927,7 +15927,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15973,7 +15973,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16019,7 +16019,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17073,7 +17073,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17119,7 +17119,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17165,7 +17165,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17211,7 +17211,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17807,7 +17807,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17853,7 +17853,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18663,7 +18663,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18709,7 +18709,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18755,7 +18755,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19441,7 +19441,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19487,7 +19487,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19533,7 +19533,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20359,7 +20359,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20727,7 +20727,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20773,7 +20773,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20819,7 +20819,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20865,7 +20865,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20911,7 +20911,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20957,7 +20957,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22195,7 +22195,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22241,7 +22241,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22333,7 +22333,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22379,7 +22379,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListAnnotations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListAnnotations/main.go index 6369e438691f..ab8431540376 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListAnnotations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListAnnotations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListAnnotationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDataItems/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDataItems/main.go index 09f5c1aba970..84a2851cec51 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDataItems/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDataItems/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataItemsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasetVersions/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasetVersions/main.go index ad1a886eab73..27fef15d29cd 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasetVersions/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasetVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetVersionsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasets/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasets/main.go index 9f9a417ea3ed..060e68d7bbfa 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasets/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDatasetsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListLocations/main.go index 1c93da6bfc1c..e5be86de1f02 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListOperations/main.go index 18b87e444857..b1ca577eca03 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListSavedQueries/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListSavedQueries/main.go index 649a0b275687..21cbf0abbb49 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListSavedQueries/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/ListSavedQueries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSavedQueriesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/SearchDataItems/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/SearchDataItems/main.go index 4e1a6071f758..c60be462abd8 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/SearchDataItems/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DatasetClient/SearchDataItems/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchDataItemsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go index 1740157279a8..23219f0d5889 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListDeploymentResourcePools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDeploymentResourcePoolsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListLocations/main.go index 1eac1443406d..2239c35fff8a 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListOperations/main.go index 6cc5cc469ee2..29cf7b33b491 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/QueryDeployedModels/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/QueryDeployedModels/main.go index 0857e277df23..05a524b3f318 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/QueryDeployedModels/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/DeploymentResourcePoolClient/QueryDeployedModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.QueryDeployedModelsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListEndpoints/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListEndpoints/main.go index 6861ed097e8b..1f4b50d2241e 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListEndpoints/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEndpointsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListLocations/main.go index 1499bd9f261b..51642e867a98 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListOperations/main.go index 2c8ae72398a0..100e3ae082e3 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/EndpointClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListLocations/main.go index 1174f5dbac23..2914c773f56e 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListOperations/main.go index 3343286a0600..43f8f50597f1 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/EvaluationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListLocations/main.go index b14b09a1b6e0..d3086939bb14 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListOperations/main.go index 4b1a411403df..b9eedf12b191 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionExecutionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListExtensions/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListExtensions/main.go index 97c78fb3a046..c4b365eb9326 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListExtensions/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListExtensions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListExtensionsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListLocations/main.go index 0dca23643379..8628d0fcb825 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListOperations/main.go index 9f1fabd1897a..4322b7668c01 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ExtensionRegistryClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go index 26348f8c2f62..589be3cd4a43 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureOnlineStores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureOnlineStoresResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go index 0a34a2e6393f..f5243bb69cd2 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViewSyncs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewSyncsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go index c48c9b689348..0c65984ac7fa 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListFeatureViews/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureViewsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListLocations/main.go index deb704331864..2bce71716814 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListOperations/main.go index 7439bb311e9a..ce5223e7ee64 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListLocations/main.go index b4807e76f3bf..0f8a7d214564 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListOperations/main.go index c4529bffbb49..fcd615a4cd7e 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureOnlineStoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatureGroups/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatureGroups/main.go index 2015ab554516..17774bdde044 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatureGroups/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatureGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeatureGroupsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatures/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatures/main.go index 07bf7375e473..38c815afd228 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatures/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListFeatures/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListLocations/main.go index 12c33815528f..41dad9c274a0 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListOperations/main.go index 98f99ddd3f21..05b154837713 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeatureRegistryClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListEntityTypes/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListEntityTypes/main.go index 348007d5b62e..841ca25629c1 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListEntityTypes/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListEntityTypesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeatures/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeatures/main.go index affbfbbb913b..6ac0b0bb04fe 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeatures/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeatures/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeaturestores/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeaturestores/main.go index 17e496371a08..60cf9376b50a 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeaturestores/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListFeaturestores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListFeaturestoresResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListLocations/main.go index a7c7778101e5..0c638003ee76 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListOperations/main.go index af63e75e7355..60a73a32fad0 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/SearchFeatures/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/SearchFeatures/main.go index e882e23ae0c3..33535253bf9b 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/SearchFeatures/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreClient/SearchFeatures/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchFeaturesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListLocations/main.go index 083fdf51b4ea..6b5a2a03b200 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListOperations/main.go index 15c0e03813e5..3cebf7cbe13c 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/FeaturestoreOnlineServingClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListIndexes/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListIndexes/main.go index 90827a46c829..c9206b3006ce 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListIndexes/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListIndexes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListLocations/main.go index 5a85be26e25d..877c0eb1d4e9 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListOperations/main.go index 10e942ab7891..e1e512614578 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/IndexClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListIndexEndpoints/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListIndexEndpoints/main.go index f8440a28d192..eda03e288b21 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListIndexEndpoints/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListIndexEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListIndexEndpointsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListLocations/main.go index 9984995350b9..42ae53cd77bb 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListOperations/main.go index 220f132b1cc7..3e8188fb9b2a 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/IndexEndpointClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListBatchPredictionJobs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListBatchPredictionJobs/main.go index 18eb6e48e1cf..8922074baec4 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListBatchPredictionJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListBatchPredictionJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListBatchPredictionJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListCustomJobs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListCustomJobs/main.go index 92ab3d2968cb..39678d94bcd7 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListCustomJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListCustomJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListCustomJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListDataLabelingJobs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListDataLabelingJobs/main.go index b8be9bddc01e..aba6a647843a 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListDataLabelingJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListDataLabelingJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListDataLabelingJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListHyperparameterTuningJobs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListHyperparameterTuningJobs/main.go index 9da43141a195..d7aeb67671ab 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListHyperparameterTuningJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListHyperparameterTuningJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListHyperparameterTuningJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListLocations/main.go index c0a576ba00ef..0c34a4fa63de 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListModelDeploymentMonitoringJobs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListModelDeploymentMonitoringJobs/main.go index fc9a0b8dfe53..338a681756a9 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListModelDeploymentMonitoringJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListModelDeploymentMonitoringJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelDeploymentMonitoringJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasJobs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasJobs/main.go index 052cef2c83c3..c258af0e54e2 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasTrialDetails/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasTrialDetails/main.go index 57e29db6d2cd..d534520da547 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasTrialDetails/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListNasTrialDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListNasTrialDetailsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListOperations/main.go index 26ce9eaddad9..c0ca151ad28c 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go index e2d95132caaa..a1c4915280fc 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/JobClient/SearchModelDeploymentMonitoringStatsAnomalies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchModelDeploymentMonitoringStatsAnomaliesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListLocations/main.go index ad52b4eaeba8..fec356793a61 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListOperations/main.go index d780af5168f1..56667539b6ed 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/LlmUtilityClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListLocations/main.go index 516e2e50ffbc..5ed40768d303 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListOperations/main.go index 152eef455a09..fc8b86346b7d 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MatchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListArtifacts/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListArtifacts/main.go index 484909859a1a..c48492b72e80 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListArtifacts/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListArtifacts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListArtifactsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListContexts/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListContexts/main.go index bb482203da20..7c40a5a2d86d 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListContexts/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListContexts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListContextsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListExecutions/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListExecutions/main.go index 838623b7ac04..8ba85ca10b3d 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListExecutions/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListExecutions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListExecutionsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListLocations/main.go index 93bde56bfd9b..76988f2ee6a3 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataSchemas/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataSchemas/main.go index ba1d5a6504ca..748cf5018aa6 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataSchemas/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataSchemasResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataStores/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataStores/main.go index a5fe5bdbe08b..bfd89a0429b0 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataStores/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListMetadataStores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListMetadataStoresResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListOperations/main.go index 3bf92a6ea720..6bad185d787a 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MetadataClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListLocations/main.go index d9557f1f8432..20e4ac9f4131 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListOperations/main.go index a64c0e74b434..7ead36cae2ae 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/SearchMigratableResources/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/SearchMigratableResources/main.go index f9ed845ffff0..5d9df85c70fb 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/SearchMigratableResources/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/MigrationClient/SearchMigratableResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.SearchMigratableResourcesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListLocations/main.go index 45608c749def..2bbe6fbc04a8 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluationSlices/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluationSlices/main.go index b8a01f0ea0a6..f8b4722988ff 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluationSlices/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluationSlices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationSlicesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluations/main.go index 19ef39a966d4..dadacc9a9b4d 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelEvaluationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelVersions/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelVersions/main.go index 7f07927e74d4..d40e9067cca5 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelVersions/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModelVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelVersionsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModels/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModels/main.go index ad1b10644418..90be2f9923d3 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListModelsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListOperations/main.go index 36bea1cccfff..77dff9a7d319 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListLocations/main.go index 9ac34e7b2190..d025c9fa55cc 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListOperations/main.go index 361be520e126..ad7be96cce27 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListPublisherModels/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListPublisherModels/main.go index 8fd0ef0584d2..71bd35aebb32 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListPublisherModels/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ModelGardenClient/ListPublisherModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPublisherModelsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListLocations/main.go index 33c12feaade0..cdd632725bc6 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListOperations/main.go index 1cb9d8b0383e..bfbbe97b7e77 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListPersistentResources/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListPersistentResources/main.go index a618b7a1d8cb..c04db6a5fe01 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListPersistentResources/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PersistentResourceClient/ListPersistentResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPersistentResourcesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListLocations/main.go index f46dd40bbffc..d5e204da7dcf 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListOperations/main.go index a0017db07544..39841fbd341f 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListPipelineJobs/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListPipelineJobs/main.go index bc3924298764..f5295b46d416 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListPipelineJobs/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListPipelineJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListPipelineJobsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListTrainingPipelines/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListTrainingPipelines/main.go index 19b34ebba41c..ac8025b71f48 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListTrainingPipelines/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PipelineClient/ListTrainingPipelines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrainingPipelinesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListLocations/main.go index 7caa3aaeb3be..f3a83c58f1bc 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListOperations/main.go index b405c31901b8..b050455f2cdc 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/PredictionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListLocations/main.go index 6a419a78536f..c363b2927bac 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListOperations/main.go index 70cce395752a..2455a76dc4e3 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListReasoningEngines/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListReasoningEngines/main.go index f9dc3e8700c1..975472125854 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListReasoningEngines/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineClient/ListReasoningEngines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListReasoningEnginesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListLocations/main.go index 23f38cfc22df..fa245a5a9b45 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListOperations/main.go index 863b0945af3b..6fd3a0142427 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ReasoningEngineExecutionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListLocations/main.go index e3342b881a4d..9dcd0e7b9452 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListOperations/main.go index a007f65959b9..7eceed04f16c 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListSchedules/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListSchedules/main.go index 69f6034988b8..a5fa5036fc01 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListSchedules/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/ScheduleClient/ListSchedules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSchedulesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListLocations/main.go index 126cfa0b83b1..bc9b29cef80f 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListOperations/main.go index af998417897b..20378c878279 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListSpecialistPools/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListSpecialistPools/main.go index cc074256c6e1..3f2b5c7b1cc5 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListSpecialistPools/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/SpecialistPoolClient/ListSpecialistPools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListSpecialistPoolsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go index 65b7476a8ea5..408ab6051c3f 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ExportTensorboardTimeSeriesData/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ExportTensorboardTimeSeriesDataResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListLocations/main.go index 43cf66b1b2e8..5297a8eed892 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListOperations/main.go index bfc4a9932f06..c329b2426040 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardExperiments/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardExperiments/main.go index d096cadb8336..5bb9a579d4fe 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardExperiments/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardExperiments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardExperimentsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardRuns/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardRuns/main.go index 51e81406d4af..1aa622566769 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardRuns/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardRuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardRunsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardTimeSeries/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardTimeSeries/main.go index c1ec1cd29dfe..e718067738b5 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardTimeSeries/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboardTimeSeries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardTimeSeriesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboards/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboards/main.go index 3aca03e139f8..6493a22101a0 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboards/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/TensorboardClient/ListTensorboards/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTensorboardsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListLocations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListLocations/main.go index b71655780bf6..bc3397c7f8b6 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListLocations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListOperations/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListOperations/main.go index e4bb4f99d70e..24ebf7e8dc43 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListOperations/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListStudies/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListStudies/main.go index d9b9820bfff1..376f3427cc67 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListStudies/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListStudies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListStudiesResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListTrials/main.go b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListTrials/main.go index 9ef8e9e67299..89bc57038c37 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListTrials/main.go +++ b/internal/generated/snippets/aiplatform/apiv1beta1/VizierClient/ListTrials/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*aiplatformpb.ListTrialsResponse) } } diff --git a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json index 47a56614d0b5..6cc5a140b771 100644 --- a/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json +++ b/internal/generated/snippets/aiplatform/apiv1beta1/snippet_metadata.google.cloud.aiplatform.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/aiplatform/apiv1beta1", - "version": "1.65.0", + "version": "1.66.0", "language": "GO", "apis": [ { @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1704,7 +1704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1842,7 +1842,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2438,7 +2438,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2484,7 +2484,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2530,7 +2530,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3126,7 +3126,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3172,7 +3172,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3630,7 +3630,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3676,7 +3676,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4272,7 +4272,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4318,7 +4318,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4364,7 +4364,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5144,7 +5144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5190,7 +5190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5236,7 +5236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5282,7 +5282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5328,7 +5328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5924,7 +5924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5970,7 +5970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6746,7 +6746,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6792,7 +6792,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6838,7 +6838,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6884,7 +6884,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7388,7 +7388,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7434,7 +7434,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8582,7 +8582,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8628,7 +8628,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8674,7 +8674,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8720,7 +8720,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8766,7 +8766,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8812,7 +8812,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9546,7 +9546,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9592,7 +9592,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9638,7 +9638,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10326,7 +10326,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10372,7 +10372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10418,7 +10418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12067,7 +12067,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12113,7 +12113,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12159,7 +12159,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12205,7 +12205,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12251,7 +12251,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12297,7 +12297,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12343,7 +12343,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12389,7 +12389,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12435,7 +12435,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12571,7 +12571,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13075,7 +13075,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13121,7 +13121,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13579,7 +13579,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13625,7 +13625,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14865,7 +14865,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14911,7 +14911,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14957,7 +14957,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15003,7 +15003,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15049,7 +15049,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15095,7 +15095,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15141,7 +15141,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16059,7 +16059,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16105,7 +16105,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16151,7 +16151,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16609,7 +16609,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16655,7 +16655,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16701,7 +16701,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17573,7 +17573,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17619,7 +17619,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17665,7 +17665,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17711,7 +17711,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17757,7 +17757,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17803,7 +17803,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18537,7 +18537,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18583,7 +18583,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18629,7 +18629,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19545,7 +19545,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19591,7 +19591,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19637,7 +19637,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19683,7 +19683,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20325,7 +20325,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20371,7 +20371,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21043,7 +21043,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21089,7 +21089,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21685,7 +21685,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21731,7 +21731,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21777,7 +21777,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22327,7 +22327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22373,7 +22373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22419,7 +22419,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -23105,7 +23105,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -23151,7 +23151,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -23197,7 +23197,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24023,7 +24023,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24391,7 +24391,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24437,7 +24437,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24483,7 +24483,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24529,7 +24529,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24575,7 +24575,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24621,7 +24621,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25859,7 +25859,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25905,7 +25905,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25997,7 +25997,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -26043,7 +26043,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListBackups/main.go b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListBackups/main.go index 3161db7363b9..5deb70e1e94c 100644 --- a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListBackups/main.go +++ b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListClusters/main.go b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListClusters/main.go index 4439d4b5f9a1..0c9917bc28c0 100644 --- a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListClusters/main.go +++ b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListClustersResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListInstances/main.go b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListInstances/main.go index fd9d4cbe93f9..076073d5a981 100644 --- a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListInstances/main.go +++ b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListLocations/main.go b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListLocations/main.go index facbd4349acc..4e917ee83b42 100644 --- a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListLocations/main.go +++ b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListOperations/main.go b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListOperations/main.go index 1d6b67c5aad0..ae9cba3f2110 100644 --- a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go index 544cfc1c5a8a..cc59f881272c 100644 --- a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go +++ b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListSupportedDatabaseFlagsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListUsers/main.go b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListUsers/main.go index 882c9bddd4dc..b73d180a7655 100644 --- a/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListUsers/main.go +++ b/internal/generated/snippets/alloydb/apiv1/AlloyDBAdminClient/ListUsers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListUsersResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json b/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json index 9ef4c1938ee7..37f03e6f0977 100644 --- a/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json +++ b/internal/generated/snippets/alloydb/apiv1/snippet_metadata.google.cloud.alloydb.v1.json @@ -1107,7 +1107,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1153,7 +1153,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1199,7 +1199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1245,7 +1245,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1291,7 +1291,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1337,7 +1337,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1383,7 +1383,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListBackups/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListBackups/main.go index 5eb1c0a85d18..243b7d4a77c2 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListBackups/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListClusters/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListClusters/main.go index d3467de7b6bd..edd02163e393 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListClusters/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListClustersResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListDatabases/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListDatabases/main.go index 166175ef1ad0..322e37ee697e 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListDatabases/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListDatabases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListDatabasesResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListInstances/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListInstances/main.go index 6a08d75d6f8a..39ab7462ede0 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListInstances/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListLocations/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListLocations/main.go index b37124bb161c..e4201bcd59e1 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListLocations/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListOperations/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListOperations/main.go index 3d35141aa382..c0da7f5a0020 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go index dc4b6ab4124f..47f3d0a2e6bb 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListSupportedDatabaseFlagsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListUsers/main.go b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListUsers/main.go index 86ad0585601b..b5d9d2b2a63d 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListUsers/main.go +++ b/internal/generated/snippets/alloydb/apiv1alpha/AlloyDBAdminClient/ListUsers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListUsersResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json b/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json index 46143b542a2b..365573f94b37 100644 --- a/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json +++ b/internal/generated/snippets/alloydb/apiv1alpha/snippet_metadata.google.cloud.alloydb.v1alpha.json @@ -1107,7 +1107,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1153,7 +1153,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1199,7 +1199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1245,7 +1245,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1291,7 +1291,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1337,7 +1337,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1383,7 +1383,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1429,7 +1429,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListBackups/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListBackups/main.go index 7846763b546e..50ee8181df9b 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListBackups/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListClusters/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListClusters/main.go index 98e455b8f867..489bb5b030ed 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListClusters/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListClustersResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListDatabases/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListDatabases/main.go index f522041547c0..6362fa5d70cf 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListDatabases/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListDatabases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListDatabasesResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListInstances/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListInstances/main.go index 2d96a629f7df..66481b9b2710 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListInstances/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListLocations/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListLocations/main.go index f21130a4527b..71eda95b3525 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListLocations/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListOperations/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListOperations/main.go index 45c62bef3dc4..5a7e1d0b1226 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go index 0cfa9c807d3b..34744ae5f211 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListSupportedDatabaseFlags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListSupportedDatabaseFlagsResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListUsers/main.go b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListUsers/main.go index 74b3912f004d..7ccc8d751aeb 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListUsers/main.go +++ b/internal/generated/snippets/alloydb/apiv1beta/AlloyDBAdminClient/ListUsers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*alloydbpb.ListUsersResponse) } } diff --git a/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json b/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json index 1ed3777f0a43..ec1af96c163c 100644 --- a/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json +++ b/internal/generated/snippets/alloydb/apiv1beta/snippet_metadata.google.cloud.alloydb.v1beta.json @@ -1107,7 +1107,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1153,7 +1153,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1199,7 +1199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1245,7 +1245,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1291,7 +1291,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1337,7 +1337,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1383,7 +1383,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1429,7 +1429,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccessBindings/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccessBindings/main.go index abe4c374941c..7d3a375b46dd 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccessBindings/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccessBindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAccessBindingsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccountSummaries/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccountSummaries/main.go index 11dbbb88a744..28f8ecfaf49a 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccountSummaries/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccountSummaries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAccountSummariesResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccounts/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccounts/main.go index 29bd914ff5da..49289978eab8 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccounts/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAccounts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAccountsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAdSenseLinks/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAdSenseLinks/main.go index 82961a7006de..a5be3ebdd645 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAdSenseLinks/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAdSenseLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAdSenseLinksResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAudiences/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAudiences/main.go index 06fd57fbc499..4a3691aadb22 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAudiences/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListAudiences/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListAudiencesResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListBigQueryLinks/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListBigQueryLinks/main.go index 7b45e269f374..833140bb3ea1 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListBigQueryLinks/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListBigQueryLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListBigQueryLinksResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCalculatedMetrics/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCalculatedMetrics/main.go index e7956835de68..be63d6ec5595 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCalculatedMetrics/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCalculatedMetrics/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListCalculatedMetricsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListChannelGroups/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListChannelGroups/main.go index e26fd6ac688a..94574b90cee9 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListChannelGroups/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListChannelGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListChannelGroupsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListConversionEvents/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListConversionEvents/main.go index c32083c47cc2..22fc6b7e0611 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListConversionEvents/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListConversionEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListConversionEventsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomDimensions/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomDimensions/main.go index e02c7392bdb3..2bce1bac5910 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomDimensions/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomDimensions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListCustomDimensionsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomMetrics/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomMetrics/main.go index 217d42950342..a1a1a5f584ad 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomMetrics/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListCustomMetrics/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListCustomMetricsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDataStreams/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDataStreams/main.go index 65f761a04b10..fea2f71c389d 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDataStreams/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDataStreams/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListDataStreamsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinkProposals/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinkProposals/main.go index 0d92d2c06f53..be8a580e238d 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinkProposals/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinkProposals/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListDisplayVideo360AdvertiserLinkProposalsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinks/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinks/main.go index 8b337ba0f64e..5caf1066eadb 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinks/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListDisplayVideo360AdvertiserLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListDisplayVideo360AdvertiserLinksResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListEventCreateRules/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListEventCreateRules/main.go index 6deece14f77b..f795de1d1f5f 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListEventCreateRules/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListEventCreateRules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListEventCreateRulesResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListExpandedDataSets/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListExpandedDataSets/main.go index d376e7c10818..921d1f85f218 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListExpandedDataSets/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListExpandedDataSets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListExpandedDataSetsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListFirebaseLinks/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListFirebaseLinks/main.go index a30f2ccdd650..10ddd2e1d5ad 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListFirebaseLinks/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListFirebaseLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListFirebaseLinksResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListGoogleAdsLinks/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListGoogleAdsLinks/main.go index 3e9d0aca749c..4057e56caf33 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListGoogleAdsLinks/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListGoogleAdsLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListGoogleAdsLinksResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListMeasurementProtocolSecrets/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListMeasurementProtocolSecrets/main.go index a6119888cfe2..33e64d1a0e41 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListMeasurementProtocolSecrets/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListMeasurementProtocolSecrets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListMeasurementProtocolSecretsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListProperties/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListProperties/main.go index c2cedcac4160..dcbefd4b6cb1 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListProperties/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListProperties/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListPropertiesResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListRollupPropertySourceLinks/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListRollupPropertySourceLinks/main.go index 50a145ad76ac..a32f962cd838 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListRollupPropertySourceLinks/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListRollupPropertySourceLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListRollupPropertySourceLinksResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSKAdNetworkConversionValueSchemas/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSKAdNetworkConversionValueSchemas/main.go index 95dafe3c98eb..3c104396f3e1 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSKAdNetworkConversionValueSchemas/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSKAdNetworkConversionValueSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListSKAdNetworkConversionValueSchemasResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSearchAds360Links/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSearchAds360Links/main.go index 051d4ab4573e..7a7a822273d0 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSearchAds360Links/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSearchAds360Links/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListSearchAds360LinksResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSubpropertyEventFilters/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSubpropertyEventFilters/main.go index 2594fd462d4f..f675952c7fb2 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSubpropertyEventFilters/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/ListSubpropertyEventFilters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListSubpropertyEventFiltersResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/SearchChangeHistoryEvents/main.go b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/SearchChangeHistoryEvents/main.go index 6a8dae735ff9..c60e03b17099 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/SearchChangeHistoryEvents/main.go +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/AnalyticsAdminClient/SearchChangeHistoryEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.SearchChangeHistoryEventsResponse) } } diff --git a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json index 69b1695908ee..12b5891aeaba 100644 --- a/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json +++ b/internal/generated/snippets/analytics/admin/apiv1alpha/snippet_metadata.google.analytics.admin.v1alpha.json @@ -3893,7 +3893,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3939,7 +3939,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3985,7 +3985,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4031,7 +4031,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4077,7 +4077,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4123,7 +4123,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4169,7 +4169,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4215,7 +4215,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4307,7 +4307,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4353,7 +4353,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4399,7 +4399,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4445,7 +4445,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4491,7 +4491,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4537,7 +4537,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4583,7 +4583,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4629,7 +4629,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4675,7 +4675,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4721,7 +4721,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4767,7 +4767,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4813,7 +4813,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4859,7 +4859,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4905,7 +4905,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4951,7 +4951,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4997,7 +4997,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5135,7 +5135,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apigateway/apiv1/Client/ListApiConfigs/main.go b/internal/generated/snippets/apigateway/apiv1/Client/ListApiConfigs/main.go index 85c1b4a8d524..eaed5f3f0bde 100644 --- a/internal/generated/snippets/apigateway/apiv1/Client/ListApiConfigs/main.go +++ b/internal/generated/snippets/apigateway/apiv1/Client/ListApiConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigatewaypb.ListApiConfigsResponse) } } diff --git a/internal/generated/snippets/apigateway/apiv1/Client/ListApis/main.go b/internal/generated/snippets/apigateway/apiv1/Client/ListApis/main.go index 8031331f602e..371f7bde097b 100644 --- a/internal/generated/snippets/apigateway/apiv1/Client/ListApis/main.go +++ b/internal/generated/snippets/apigateway/apiv1/Client/ListApis/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigatewaypb.ListApisResponse) } } diff --git a/internal/generated/snippets/apigateway/apiv1/Client/ListGateways/main.go b/internal/generated/snippets/apigateway/apiv1/Client/ListGateways/main.go index ff978ffa83a2..a1cd557c4fb3 100644 --- a/internal/generated/snippets/apigateway/apiv1/Client/ListGateways/main.go +++ b/internal/generated/snippets/apigateway/apiv1/Client/ListGateways/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigatewaypb.ListGatewaysResponse) } } diff --git a/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json b/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json index b8f6f11d0414..aba6c466fad1 100644 --- a/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json +++ b/internal/generated/snippets/apigateway/apiv1/snippet_metadata.google.cloud.apigateway.v1.json @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apigeeconnect/apiv1/ConnectionClient/ListConnections/main.go b/internal/generated/snippets/apigeeconnect/apiv1/ConnectionClient/ListConnections/main.go index fad8fdf525bf..90eb1d21fb30 100644 --- a/internal/generated/snippets/apigeeconnect/apiv1/ConnectionClient/ListConnections/main.go +++ b/internal/generated/snippets/apigeeconnect/apiv1/ConnectionClient/ListConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeconnectpb.ListConnectionsResponse) } } diff --git a/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json b/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json index 5bd7324db343..fc4b332c1ea0 100644 --- a/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json +++ b/internal/generated/snippets/apigeeconnect/apiv1/snippet_metadata.google.cloud.apigeeconnect.v1.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListLocations/main.go b/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListLocations/main.go index 8e1ca12383ca..88b9eac7c7cb 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListLocations/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListOperations/main.go b/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListOperations/main.go index 8aee0f9fa4d6..52c773f64a37 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListOperations/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/ProvisioningClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeploymentRevisions/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeploymentRevisions/main.go index e8f1eec0b2a7..97df22302a86 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeploymentRevisions/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeploymentRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiDeploymentRevisionsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeployments/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeployments/main.go index 978155735c3d..d2163e48ec91 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeployments/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiDeploymentsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecRevisions/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecRevisions/main.go index f6cfef3a56b5..097672b998dd 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecRevisions/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiSpecRevisionsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecs/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecs/main.go index 76fe990f2613..5806a2ea1483 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecs/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiSpecs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiSpecsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiVersions/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiVersions/main.go index 458293cc0b01..714939912aed 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiVersions/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApiVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApiVersionsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApis/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApis/main.go index a955fb8821b7..604d4dd14d0d 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApis/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListApis/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListApisResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListArtifacts/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListArtifacts/main.go index a37ecb3aef0f..594e09a4c307 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListArtifacts/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListArtifacts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apigeeregistrypb.ListArtifactsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListLocations/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListLocations/main.go index 47681add1dff..3e87a17635a2 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListLocations/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListOperations/main.go b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListOperations/main.go index bf4e4d6ca82a..b5b286d7d2dd 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListOperations/main.go +++ b/internal/generated/snippets/apigeeregistry/apiv1/RegistryClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json b/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json index aacca42712a1..7acfa45c6fe6 100644 --- a/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json +++ b/internal/generated/snippets/apigeeregistry/apiv1/snippet_metadata.google.cloud.apigeeregistry.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1699,7 +1699,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1745,7 +1745,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1791,7 +1791,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1837,7 +1837,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1883,7 +1883,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1929,7 +1929,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1975,7 +1975,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2021,7 +2021,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2067,7 +2067,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apikeys/apiv2/Client/ListKeys/main.go b/internal/generated/snippets/apikeys/apiv2/Client/ListKeys/main.go index 07fc92de0c63..50a79d7a2e5a 100644 --- a/internal/generated/snippets/apikeys/apiv2/Client/ListKeys/main.go +++ b/internal/generated/snippets/apikeys/apiv2/Client/ListKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apikeyspb.ListKeysResponse) } } diff --git a/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json b/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json index 505f40a8bcbd..b518715d2310 100644 --- a/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json +++ b/internal/generated/snippets/apikeys/apiv2/snippet_metadata.google.api.apikeys.v2.json @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/appengine/apiv1/AuthorizedCertificatesClient/ListAuthorizedCertificates/main.go b/internal/generated/snippets/appengine/apiv1/AuthorizedCertificatesClient/ListAuthorizedCertificates/main.go index 437ff81d5eba..30faeded763c 100644 --- a/internal/generated/snippets/appengine/apiv1/AuthorizedCertificatesClient/ListAuthorizedCertificates/main.go +++ b/internal/generated/snippets/appengine/apiv1/AuthorizedCertificatesClient/ListAuthorizedCertificates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListAuthorizedCertificatesResponse) } } diff --git a/internal/generated/snippets/appengine/apiv1/AuthorizedDomainsClient/ListAuthorizedDomains/main.go b/internal/generated/snippets/appengine/apiv1/AuthorizedDomainsClient/ListAuthorizedDomains/main.go index 3fd44b80283f..801f29581b4c 100644 --- a/internal/generated/snippets/appengine/apiv1/AuthorizedDomainsClient/ListAuthorizedDomains/main.go +++ b/internal/generated/snippets/appengine/apiv1/AuthorizedDomainsClient/ListAuthorizedDomains/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListAuthorizedDomainsResponse) } } diff --git a/internal/generated/snippets/appengine/apiv1/DomainMappingsClient/ListDomainMappings/main.go b/internal/generated/snippets/appengine/apiv1/DomainMappingsClient/ListDomainMappings/main.go index 77f5b175fcf0..d396f0cb4ff8 100644 --- a/internal/generated/snippets/appengine/apiv1/DomainMappingsClient/ListDomainMappings/main.go +++ b/internal/generated/snippets/appengine/apiv1/DomainMappingsClient/ListDomainMappings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListDomainMappingsResponse) } } diff --git a/internal/generated/snippets/appengine/apiv1/FirewallClient/ListIngressRules/main.go b/internal/generated/snippets/appengine/apiv1/FirewallClient/ListIngressRules/main.go index eb06cfc2af1d..1aa5a60dc6bf 100644 --- a/internal/generated/snippets/appengine/apiv1/FirewallClient/ListIngressRules/main.go +++ b/internal/generated/snippets/appengine/apiv1/FirewallClient/ListIngressRules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListIngressRulesResponse) } } diff --git a/internal/generated/snippets/appengine/apiv1/InstancesClient/ListInstances/main.go b/internal/generated/snippets/appengine/apiv1/InstancesClient/ListInstances/main.go index 09ff50db81ee..668ff62dd9c9 100644 --- a/internal/generated/snippets/appengine/apiv1/InstancesClient/ListInstances/main.go +++ b/internal/generated/snippets/appengine/apiv1/InstancesClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/appengine/apiv1/ServicesClient/ListServices/main.go b/internal/generated/snippets/appengine/apiv1/ServicesClient/ListServices/main.go index 2aed1b9d927e..e47542231f09 100644 --- a/internal/generated/snippets/appengine/apiv1/ServicesClient/ListServices/main.go +++ b/internal/generated/snippets/appengine/apiv1/ServicesClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListServicesResponse) } } diff --git a/internal/generated/snippets/appengine/apiv1/VersionsClient/ListVersions/main.go b/internal/generated/snippets/appengine/apiv1/VersionsClient/ListVersions/main.go index 340f857189e5..38ce841cd710 100644 --- a/internal/generated/snippets/appengine/apiv1/VersionsClient/ListVersions/main.go +++ b/internal/generated/snippets/appengine/apiv1/VersionsClient/ListVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appenginepb.ListVersionsResponse) } } diff --git a/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json b/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json index 854254725ae7..a3869f077b20 100644 --- a/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json +++ b/internal/generated/snippets/appengine/apiv1/snippet_metadata.google.appengine.v1.json @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -465,7 +465,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -649,7 +649,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1292,7 +1292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1522,7 +1522,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListApplications/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListApplications/main.go index b1b4cd05a5be..4485a20e3feb 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListApplications/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListApplications/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListApplicationsResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredServices/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredServices/main.go index 36e1b92ac225..e261871c1f4b 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredServices/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListDiscoveredServicesResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredWorkloads/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredWorkloads/main.go index 07b25906c2f0..41e9d1e2d7a2 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredWorkloads/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListDiscoveredWorkloads/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListDiscoveredWorkloadsResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListLocations/main.go index 9c2f713c052b..ca8c5aec304d 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListOperations/main.go index 8f5a3eac3429..03a2efa9d948 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListServiceProjectAttachments/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListServiceProjectAttachments/main.go index 7a041789ccfa..b720ea351dec 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListServiceProjectAttachments/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListServiceProjectAttachments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListServiceProjectAttachmentsResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListServices/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListServices/main.go index 68f7c26a296d..14e43ca33646 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListServices/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListServicesResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/Client/ListWorkloads/main.go b/internal/generated/snippets/apphub/apiv1/Client/ListWorkloads/main.go index 2f420057888d..c131cd89541f 100644 --- a/internal/generated/snippets/apphub/apiv1/Client/ListWorkloads/main.go +++ b/internal/generated/snippets/apphub/apiv1/Client/ListWorkloads/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*apphubpb.ListWorkloadsResponse) } } diff --git a/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json b/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json index 0d7345e38291..2ab0a2456dcd 100644 --- a/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json +++ b/internal/generated/snippets/apphub/apiv1/snippet_metadata.google.cloud.apphub.v1.json @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1292,7 +1292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apps/events/subscriptions/apiv1/Client/ListSubscriptions/main.go b/internal/generated/snippets/apps/events/subscriptions/apiv1/Client/ListSubscriptions/main.go index 51a550d7fcb8..41646949945f 100644 --- a/internal/generated/snippets/apps/events/subscriptions/apiv1/Client/ListSubscriptions/main.go +++ b/internal/generated/snippets/apps/events/subscriptions/apiv1/Client/ListSubscriptions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*subscriptionspb.ListSubscriptionsResponse) } } diff --git a/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json b/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json index e7404f56b5b4..8b890e24e9ee 100644 --- a/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json +++ b/internal/generated/snippets/apps/events/subscriptions/apiv1/snippet_metadata.google.apps.events.subscriptions.v1.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListConferenceRecords/main.go b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListConferenceRecords/main.go index 7f6cba360412..2730649852d9 100644 --- a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListConferenceRecords/main.go +++ b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListConferenceRecords/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListConferenceRecordsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipantSessions/main.go b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipantSessions/main.go index fbdf56d1dbe1..cdd7e3fbb84f 100644 --- a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipantSessions/main.go +++ b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipantSessions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantSessionsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipants/main.go b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipants/main.go index 7e3c9f680d51..cd5a2acd7f15 100644 --- a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipants/main.go +++ b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListParticipants/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListRecordings/main.go b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListRecordings/main.go index f6bfbf8c3c7b..2623642e4846 100644 --- a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListRecordings/main.go +++ b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListRecordings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListRecordingsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscriptEntries/main.go b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscriptEntries/main.go index 33a74795eda2..4c01b2ba399a 100644 --- a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscriptEntries/main.go +++ b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscriptEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptEntriesResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscripts/main.go b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscripts/main.go index 9306b1ce6609..00bcf6619d61 100644 --- a/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscripts/main.go +++ b/internal/generated/snippets/apps/meet/apiv2/ConferenceRecordsClient/ListTranscripts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json b/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json index 49bfc0a6dabd..dd21b8ff90f5 100644 --- a/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json +++ b/internal/generated/snippets/apps/meet/apiv2/snippet_metadata.google.apps.meet.v2.json @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListConferenceRecords/main.go b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListConferenceRecords/main.go index dddde93eb444..a0941bed45d8 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListConferenceRecords/main.go +++ b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListConferenceRecords/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListConferenceRecordsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipantSessions/main.go b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipantSessions/main.go index 135676372880..5a4d7e5472a1 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipantSessions/main.go +++ b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipantSessions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantSessionsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipants/main.go b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipants/main.go index 92728220f88a..b2aaa45981b8 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipants/main.go +++ b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListParticipants/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListParticipantsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListRecordings/main.go b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListRecordings/main.go index a272d15928e3..e64f5f0459ad 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListRecordings/main.go +++ b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListRecordings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListRecordingsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscriptEntries/main.go b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscriptEntries/main.go index 97cfe6a8f244..cd5c8d5d7bf8 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscriptEntries/main.go +++ b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscriptEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptEntriesResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscripts/main.go b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscripts/main.go index aa2b0a3d3f35..30ad10cae0ea 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscripts/main.go +++ b/internal/generated/snippets/apps/meet/apiv2beta/ConferenceRecordsClient/ListTranscripts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*meetpb.ListTranscriptsResponse) } } diff --git a/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json b/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json index 16a2a737cd03..0eded63f3570 100644 --- a/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json +++ b/internal/generated/snippets/apps/meet/apiv2beta/snippet_metadata.google.apps.meet.v2beta.json @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListRows/main.go b/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListRows/main.go index 17e7a917bda9..2a4e20a2d4c8 100644 --- a/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListRows/main.go +++ b/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListRows/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tablespb.ListRowsResponse) } } diff --git a/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListTables/main.go b/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListTables/main.go index a348bf79ed55..747c05080d54 100644 --- a/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListTables/main.go +++ b/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListTables/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tablespb.ListTablesResponse) } } diff --git a/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListWorkspaces/main.go b/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListWorkspaces/main.go index bf21c266c775..539b8a70fdcc 100644 --- a/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListWorkspaces/main.go +++ b/internal/generated/snippets/area120/tables/apiv1alpha1/Client/ListWorkspaces/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tablespb.ListWorkspacesResponse) } } diff --git a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json index ac1eb7c3c00d..62fabc1747f9 100644 --- a/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json +++ b/internal/generated/snippets/area120/tables/apiv1alpha1/snippet_metadata.google.area120.tables.v1alpha1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListDockerImages/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListDockerImages/main.go index 46767897ab4e..1a98a597289d 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListDockerImages/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListDockerImages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListDockerImagesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListFiles/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListFiles/main.go index b75ebfc80ce6..fac11c00b7d6 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListFiles/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListFiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListFilesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListLocations/main.go index 29f60be74b56..3d73a975036d 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListMavenArtifacts/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListMavenArtifacts/main.go index 12412255f004..6c95fd25bd18 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListMavenArtifacts/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListMavenArtifacts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListMavenArtifactsResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListNpmPackages/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListNpmPackages/main.go index 35acda806f65..b211ea4bd5e1 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListNpmPackages/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListNpmPackages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListNpmPackagesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListPackages/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListPackages/main.go index 5286a53235cc..6fa3582c4cbd 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListPackages/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListPackages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListPackagesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListPythonPackages/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListPythonPackages/main.go index 83a30a2781ca..5510674ed7b3 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListPythonPackages/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListPythonPackages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListPythonPackagesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListRepositories/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListRepositories/main.go index 5609aba23204..0a468aba17f4 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListRepositories/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListRepositories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListRepositoriesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListTags/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListTags/main.go index c01924542f56..1b0ef3efc076 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListTags/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListTags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListTagsResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/Client/ListVersions/main.go b/internal/generated/snippets/artifactregistry/apiv1/Client/ListVersions/main.go index 99a858c59ca0..8e17e3c5b5e4 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/Client/ListVersions/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1/Client/ListVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListVersionsResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json b/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json index 4867ed5870f2..f9d0bb4e3769 100644 --- a/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json +++ b/internal/generated/snippets/artifactregistry/apiv1/snippet_metadata.google.devtools.artifactregistry.v1.json @@ -1109,7 +1109,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1155,7 +1155,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1201,7 +1201,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1247,7 +1247,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1293,7 +1293,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1339,7 +1339,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1385,7 +1385,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1431,7 +1431,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1477,7 +1477,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1523,7 +1523,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListFiles/main.go b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListFiles/main.go index afc92b48f428..9934425d7ca8 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListFiles/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListFiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListFilesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListLocations/main.go b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListLocations/main.go index 771d87ff958e..a9738a15011e 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListLocations/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListPackages/main.go b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListPackages/main.go index 9f2ff7feae79..80cbe258b21e 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListPackages/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListPackages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListPackagesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListRepositories/main.go b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListRepositories/main.go index f7ebdf5c7cbd..bee0f2d71a04 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListRepositories/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListRepositories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListRepositoriesResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListTags/main.go b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListTags/main.go index e3bb8fb254c6..ad0683121129 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListTags/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListTags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListTagsResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListVersions/main.go b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListVersions/main.go index 495c1fac1713..9c1f97aef126 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListVersions/main.go +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/Client/ListVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*artifactregistrypb.ListVersionsResponse) } } diff --git a/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json b/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json index 606037c36c53..f9559e481844 100644 --- a/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json +++ b/internal/generated/snippets/artifactregistry/apiv1beta2/snippet_metadata.google.devtools.artifactregistry.v1beta2.json @@ -787,7 +787,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -833,7 +833,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -879,7 +879,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -925,7 +925,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -971,7 +971,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1017,7 +1017,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicies/main.go b/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicies/main.go index fa6376406531..0abc5157411a 100644 --- a/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicies/main.go +++ b/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.AnalyzeOrgPoliciesResponse) } } diff --git a/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedAssets/main.go b/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedAssets/main.go index 5f37697912b5..d84a69cb20f7 100644 --- a/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedAssets/main.go +++ b/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.AnalyzeOrgPolicyGovernedAssetsResponse) } } diff --git a/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedContainers/main.go b/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedContainers/main.go index 906111b00678..0d4dc5b2f791 100644 --- a/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedContainers/main.go +++ b/internal/generated/snippets/asset/apiv1/Client/AnalyzeOrgPolicyGovernedContainers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.AnalyzeOrgPolicyGovernedContainersResponse) } } diff --git a/internal/generated/snippets/asset/apiv1/Client/ListAssets/main.go b/internal/generated/snippets/asset/apiv1/Client/ListAssets/main.go index 9641f12f26f1..691894aa1a34 100644 --- a/internal/generated/snippets/asset/apiv1/Client/ListAssets/main.go +++ b/internal/generated/snippets/asset/apiv1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/asset/apiv1/Client/ListSavedQueries/main.go b/internal/generated/snippets/asset/apiv1/Client/ListSavedQueries/main.go index 626413e6d308..075b797fd027 100644 --- a/internal/generated/snippets/asset/apiv1/Client/ListSavedQueries/main.go +++ b/internal/generated/snippets/asset/apiv1/Client/ListSavedQueries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.ListSavedQueriesResponse) } } diff --git a/internal/generated/snippets/asset/apiv1/Client/SearchAllIamPolicies/main.go b/internal/generated/snippets/asset/apiv1/Client/SearchAllIamPolicies/main.go index 169b9c755924..9ffc89ee3157 100644 --- a/internal/generated/snippets/asset/apiv1/Client/SearchAllIamPolicies/main.go +++ b/internal/generated/snippets/asset/apiv1/Client/SearchAllIamPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.SearchAllIamPoliciesResponse) } } diff --git a/internal/generated/snippets/asset/apiv1/Client/SearchAllResources/main.go b/internal/generated/snippets/asset/apiv1/Client/SearchAllResources/main.go index 48928bc68034..a07609097970 100644 --- a/internal/generated/snippets/asset/apiv1/Client/SearchAllResources/main.go +++ b/internal/generated/snippets/asset/apiv1/Client/SearchAllResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.SearchAllResourcesResponse) } } diff --git a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json index cf9a47cba5f7..8fd94c5bce2d 100644 --- a/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json +++ b/internal/generated/snippets/asset/apiv1/snippet_metadata.google.cloud.asset.v1.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/asset/apiv1p5beta1/Client/ListAssets/main.go b/internal/generated/snippets/asset/apiv1p5beta1/Client/ListAssets/main.go index e8694ea841ec..cf2ab8183bfd 100644 --- a/internal/generated/snippets/asset/apiv1p5beta1/Client/ListAssets/main.go +++ b/internal/generated/snippets/asset/apiv1p5beta1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assetpb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json index 07268fccab32..baaa042034ef 100644 --- a/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json +++ b/internal/generated/snippets/asset/apiv1p5beta1/snippet_metadata.google.cloud.asset.v1p5beta1.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/assuredworkloads/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/assuredworkloads/apiv1/Client/ListOperations/main.go index 7ef7354154d6..855022a0eae9 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/assuredworkloads/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/assuredworkloads/apiv1/Client/ListViolations/main.go b/internal/generated/snippets/assuredworkloads/apiv1/Client/ListViolations/main.go index ae5826bf78c5..57c21d17e477 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1/Client/ListViolations/main.go +++ b/internal/generated/snippets/assuredworkloads/apiv1/Client/ListViolations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assuredworkloadspb.ListViolationsResponse) } } diff --git a/internal/generated/snippets/assuredworkloads/apiv1/Client/ListWorkloads/main.go b/internal/generated/snippets/assuredworkloads/apiv1/Client/ListWorkloads/main.go index 711d65dacea1..d9fb056891c1 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1/Client/ListWorkloads/main.go +++ b/internal/generated/snippets/assuredworkloads/apiv1/Client/ListWorkloads/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assuredworkloadspb.ListWorkloadsResponse) } } diff --git a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json index e6a44eb682b6..9e0788f1edd0 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1/snippet_metadata.google.cloud.assuredworkloads.v1.json @@ -327,7 +327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -419,7 +419,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListOperations/main.go b/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListOperations/main.go index fb9bcb20653a..47ad65e2c054 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListOperations/main.go +++ b/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListWorkloads/main.go b/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListWorkloads/main.go index 67be83681522..0f65d6446dd8 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListWorkloads/main.go +++ b/internal/generated/snippets/assuredworkloads/apiv1beta1/Client/ListWorkloads/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*assuredworkloadspb.ListWorkloadsResponse) } } diff --git a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json index 26b6a805a078..e29f4f57527d 100644 --- a/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json +++ b/internal/generated/snippets/assuredworkloads/apiv1beta1/snippet_metadata.google.cloud.assuredworkloads.v1beta1.json @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -327,7 +327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/automl/apiv1/Client/ListDatasets/main.go b/internal/generated/snippets/automl/apiv1/Client/ListDatasets/main.go index 53ea205e9436..5ff640c1ab55 100644 --- a/internal/generated/snippets/automl/apiv1/Client/ListDatasets/main.go +++ b/internal/generated/snippets/automl/apiv1/Client/ListDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListDatasetsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1/Client/ListModelEvaluations/main.go b/internal/generated/snippets/automl/apiv1/Client/ListModelEvaluations/main.go index 8ca81cc33741..1fbef1c12890 100644 --- a/internal/generated/snippets/automl/apiv1/Client/ListModelEvaluations/main.go +++ b/internal/generated/snippets/automl/apiv1/Client/ListModelEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelEvaluationsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1/Client/ListModels/main.go b/internal/generated/snippets/automl/apiv1/Client/ListModels/main.go index 72537ed1bcb8..695ca0ac377f 100644 --- a/internal/generated/snippets/automl/apiv1/Client/ListModels/main.go +++ b/internal/generated/snippets/automl/apiv1/Client/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json index 87d65bc758d3..1054a2a18a1e 100644 --- a/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json +++ b/internal/generated/snippets/automl/apiv1/snippet_metadata.google.cloud.automl.v1.json @@ -604,7 +604,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -650,7 +650,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -696,7 +696,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/automl/apiv1beta1/Client/ListColumnSpecs/main.go b/internal/generated/snippets/automl/apiv1beta1/Client/ListColumnSpecs/main.go index 97cffc5a03ff..1332fd56a0aa 100644 --- a/internal/generated/snippets/automl/apiv1beta1/Client/ListColumnSpecs/main.go +++ b/internal/generated/snippets/automl/apiv1beta1/Client/ListColumnSpecs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListColumnSpecsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1beta1/Client/ListDatasets/main.go b/internal/generated/snippets/automl/apiv1beta1/Client/ListDatasets/main.go index 78993774481f..b4514776b279 100644 --- a/internal/generated/snippets/automl/apiv1beta1/Client/ListDatasets/main.go +++ b/internal/generated/snippets/automl/apiv1beta1/Client/ListDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListDatasetsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1beta1/Client/ListModelEvaluations/main.go b/internal/generated/snippets/automl/apiv1beta1/Client/ListModelEvaluations/main.go index eb6287f6c6ff..e3276cb045d9 100644 --- a/internal/generated/snippets/automl/apiv1beta1/Client/ListModelEvaluations/main.go +++ b/internal/generated/snippets/automl/apiv1beta1/Client/ListModelEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelEvaluationsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1beta1/Client/ListModels/main.go b/internal/generated/snippets/automl/apiv1beta1/Client/ListModels/main.go index c235f26c6e1f..c7115a71ae7d 100644 --- a/internal/generated/snippets/automl/apiv1beta1/Client/ListModels/main.go +++ b/internal/generated/snippets/automl/apiv1beta1/Client/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListModelsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1beta1/Client/ListTableSpecs/main.go b/internal/generated/snippets/automl/apiv1beta1/Client/ListTableSpecs/main.go index f957403bc0dc..94403d8b3a00 100644 --- a/internal/generated/snippets/automl/apiv1beta1/Client/ListTableSpecs/main.go +++ b/internal/generated/snippets/automl/apiv1beta1/Client/ListTableSpecs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*automlpb.ListTableSpecsResponse) } } diff --git a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json index ed4f250ac9a1..fb933e7c4170 100644 --- a/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json +++ b/internal/generated/snippets/automl/apiv1beta1/snippet_metadata.google.cloud.automl.v1beta1.json @@ -742,7 +742,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -788,7 +788,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -834,7 +834,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -880,7 +880,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -926,7 +926,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListInstances/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListInstances/main.go index 90f466ba2dd5..46759285df68 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListInstances/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLocations/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLocations/main.go index 0d903844a5b9..86a60b6fdc57 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLocations/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLuns/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLuns/main.go index e326451834e9..1e1cfabaf15b 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLuns/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListLuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListLunsResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNetworks/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNetworks/main.go index 567a8268eef1..94dded1af6f2 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNetworks/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNetworks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListNetworksResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNfsShares/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNfsShares/main.go index 9d3e3b4049f8..4244a275512a 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNfsShares/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListNfsShares/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListNfsSharesResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListOSImages/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListOSImages/main.go index ea831946ec7c..d9fa5f13a700 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListOSImages/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListOSImages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListOSImagesResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListProvisioningQuotas/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListProvisioningQuotas/main.go index 8f84023fe89b..b281292a470b 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListProvisioningQuotas/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListProvisioningQuotas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListProvisioningQuotasResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListSSHKeys/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListSSHKeys/main.go index dd43eba01c30..b646c6032d55 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListSSHKeys/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListSSHKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListSSHKeysResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumeSnapshots/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumeSnapshots/main.go index c1790b51b104..84fbbd0e4638 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumeSnapshots/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumeSnapshots/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListVolumeSnapshotsResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumes/main.go b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumes/main.go index 680579bd97b2..170d8a9dd10e 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumes/main.go +++ b/internal/generated/snippets/baremetalsolution/apiv2/Client/ListVolumes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*baremetalsolutionpb.ListVolumesResponse) } } diff --git a/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json b/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json index 11de533f848d..88c586d38caf 100644 --- a/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json +++ b/internal/generated/snippets/baremetalsolution/apiv2/snippet_metadata.google.cloud.baremetalsolution.v2.json @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1292,7 +1292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1338,7 +1338,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1384,7 +1384,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1430,7 +1430,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/batch/apiv1/Client/ListJobs/main.go b/internal/generated/snippets/batch/apiv1/Client/ListJobs/main.go index 9be261f0a701..dbfb7c0bca4d 100644 --- a/internal/generated/snippets/batch/apiv1/Client/ListJobs/main.go +++ b/internal/generated/snippets/batch/apiv1/Client/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*batchpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/batch/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/batch/apiv1/Client/ListLocations/main.go index ac246bf2e413..e0f661039623 100644 --- a/internal/generated/snippets/batch/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/batch/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/batch/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/batch/apiv1/Client/ListOperations/main.go index 5d15bb9c1a4d..c7fe6030f412 100644 --- a/internal/generated/snippets/batch/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/batch/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/batch/apiv1/Client/ListTasks/main.go b/internal/generated/snippets/batch/apiv1/Client/ListTasks/main.go index 2064da6da6f5..807b76028767 100644 --- a/internal/generated/snippets/batch/apiv1/Client/ListTasks/main.go +++ b/internal/generated/snippets/batch/apiv1/Client/ListTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*batchpb.ListTasksResponse) } } diff --git a/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json b/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json index 18f34e587149..cb38f965596f 100644 --- a/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json +++ b/internal/generated/snippets/batch/apiv1/snippet_metadata.google.cloud.batch.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListAppConnections/main.go b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListAppConnections/main.go index a267449fcfca..d617e064efa4 100644 --- a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListAppConnections/main.go +++ b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListAppConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appconnectionspb.ListAppConnectionsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListLocations/main.go index 74d23d31194d..fe53b0229c7f 100644 --- a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListOperations/main.go index 906f331955bc..1a26d1c51ef2 100644 --- a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ResolveAppConnections/main.go b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ResolveAppConnections/main.go index 1b9ff32ee529..5e86cb4e4f62 100644 --- a/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ResolveAppConnections/main.go +++ b/internal/generated/snippets/beyondcorp/appconnections/apiv1/Client/ResolveAppConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appconnectionspb.ResolveAppConnectionsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json b/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json index f09918f5c284..fcbed17c14dd 100644 --- a/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json +++ b/internal/generated/snippets/beyondcorp/appconnections/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnections.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListAppConnectors/main.go b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListAppConnectors/main.go index 884d741f9414..d5b5debf6c1a 100644 --- a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListAppConnectors/main.go +++ b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListAppConnectors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appconnectorspb.ListAppConnectorsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListLocations/main.go index 5ea551008d4e..cab818e4f0e8 100644 --- a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListOperations/main.go index b7ae538b7002..1c22744ee773 100644 --- a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json index 06b6233bfea7..6f875b955a5c 100644 --- a/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json +++ b/internal/generated/snippets/beyondcorp/appconnectors/apiv1/snippet_metadata.google.cloud.beyondcorp.appconnectors.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListAppGateways/main.go b/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListAppGateways/main.go index 64bb8014cce8..cfb8a1a13f0e 100644 --- a/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListAppGateways/main.go +++ b/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListAppGateways/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*appgatewayspb.ListAppGatewaysResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListLocations/main.go index c61954733375..23bed92800d5 100644 --- a/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListOperations/main.go index 03666706ee48..101a0e3002b2 100644 --- a/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/beyondcorp/appgateways/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json b/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json index d360666b02ca..b8fed92593c1 100644 --- a/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json +++ b/internal/generated/snippets/beyondcorp/appgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.appgateways.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListClientConnectorServices/main.go b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListClientConnectorServices/main.go index 4568c3c74e71..21437e7ca479 100644 --- a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListClientConnectorServices/main.go +++ b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListClientConnectorServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clientconnectorservicespb.ListClientConnectorServicesResponse) } } diff --git a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListLocations/main.go index ac6ee0aedaf5..fb8a52066637 100644 --- a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListOperations/main.go index d0bd12b497a8..791105d67397 100644 --- a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json index 2a4ff60c67ae..9fb87691dbf5 100644 --- a/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json +++ b/internal/generated/snippets/beyondcorp/clientconnectorservices/apiv1/snippet_metadata.google.cloud.beyondcorp.clientconnectorservices.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListClientGateways/main.go b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListClientGateways/main.go index 621e1e6b2994..445c7a8f7a0a 100644 --- a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListClientGateways/main.go +++ b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListClientGateways/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clientgatewayspb.ListClientGatewaysResponse) } } diff --git a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListLocations/main.go index 08a22b11e325..059b481f873c 100644 --- a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListOperations/main.go index 557e89710f53..2aa51ca56622 100644 --- a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json index 3f6a685f1242..a42df0176ad4 100644 --- a/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json +++ b/internal/generated/snippets/beyondcorp/clientgateways/apiv1/snippet_metadata.google.cloud.beyondcorp.clientgateways.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListDataExchanges/main.go b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListDataExchanges/main.go index d0606782fdfe..379e06ed62ea 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListDataExchanges/main.go +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListDataExchanges/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListDataExchangesResponse) } } diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListListings/main.go b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListListings/main.go index bdc5ac8146e4..2123c50641e6 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListListings/main.go +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListListings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListListingsResponse) } } diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListOrgDataExchanges/main.go b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListOrgDataExchanges/main.go index 80513d4c5f1b..e3ad9ee7590d 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListOrgDataExchanges/main.go +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListOrgDataExchanges/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListOrgDataExchangesResponse) } } diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSharedResourceSubscriptions/main.go b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSharedResourceSubscriptions/main.go index 87a787dde2e9..f0e54507a17a 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSharedResourceSubscriptions/main.go +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSharedResourceSubscriptions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListSharedResourceSubscriptionsResponse) } } diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSubscriptions/main.go b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSubscriptions/main.go index cb8999d9f853..24ba03cfd1d9 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSubscriptions/main.go +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/Client/ListSubscriptions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*analyticshubpb.ListSubscriptionsResponse) } } diff --git a/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json b/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json index 134dbb2ddeab..43b281cc6e0c 100644 --- a/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json +++ b/internal/generated/snippets/bigquery/analyticshub/apiv1/snippet_metadata.google.cloud.bigquery.analyticshub.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/analyticshub/apiv1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListCatalogs/main.go b/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListCatalogs/main.go index da8ab56a4333..d160bff6e345 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListCatalogs/main.go +++ b/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListCatalogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListCatalogsResponse) } } diff --git a/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListDatabases/main.go b/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListDatabases/main.go index da78dbc4f820..efcf8b7b13a8 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListDatabases/main.go +++ b/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListDatabases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListDatabasesResponse) } } diff --git a/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListTables/main.go b/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListTables/main.go index 8cefc20d2a10..34cdb1a6ab5e 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListTables/main.go +++ b/internal/generated/snippets/bigquery/biglake/apiv1/MetastoreClient/ListTables/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListTablesResponse) } } diff --git a/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json b/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json index 9f6879ee2c07..b76668b2acec 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json +++ b/internal/generated/snippets/bigquery/biglake/apiv1/snippet_metadata.google.cloud.bigquery.biglake.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/biglake/apiv1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListCatalogs/main.go b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListCatalogs/main.go index c7bc4e917ccb..fb2c5ba91131 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListCatalogs/main.go +++ b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListCatalogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListCatalogsResponse) } } diff --git a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListDatabases/main.go b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListDatabases/main.go index fb1af9adcffd..8a4977c04ac8 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListDatabases/main.go +++ b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListDatabases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListDatabasesResponse) } } diff --git a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListLocks/main.go b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListLocks/main.go index 64dde1f5320f..a36860350d0e 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListLocks/main.go +++ b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListLocks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListLocksResponse) } } diff --git a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListTables/main.go b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListTables/main.go index 86f040a03967..6ac83bc8b6b4 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListTables/main.go +++ b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/MetastoreClient/ListTables/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*biglakepb.ListTablesResponse) } } diff --git a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json index f412e5d864cb..4047026e7544 100644 --- a/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json +++ b/internal/generated/snippets/bigquery/biglake/apiv1alpha1/snippet_metadata.google.cloud.bigquery.biglake.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/biglake/apiv1alpha1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -603,7 +603,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -649,7 +649,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -695,7 +695,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -741,7 +741,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/connection/apiv1/Client/ListConnections/main.go b/internal/generated/snippets/bigquery/connection/apiv1/Client/ListConnections/main.go index 4eaa1c9b52b4..3b2e3d2c6ab5 100644 --- a/internal/generated/snippets/bigquery/connection/apiv1/Client/ListConnections/main.go +++ b/internal/generated/snippets/bigquery/connection/apiv1/Client/ListConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*connectionpb.ListConnectionsResponse) } } diff --git a/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json b/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json index b2549dc89ade..f5de93fd0301 100644 --- a/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json +++ b/internal/generated/snippets/bigquery/connection/apiv1/snippet_metadata.google.cloud.bigquery.connection.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/connection/apiv1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json b/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json index 59dfd86332d4..2295a9171598 100644 --- a/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json +++ b/internal/generated/snippets/bigquery/connection/apiv1beta1/snippet_metadata.google.cloud.bigquery.connection.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/connection/apiv1beta1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListDataExchanges/main.go b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListDataExchanges/main.go index 8e20c85ba856..627e26ea5748 100644 --- a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListDataExchanges/main.go +++ b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListDataExchanges/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataexchangepb.ListDataExchangesResponse) } } diff --git a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListListings/main.go b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListListings/main.go index b4a7c26bb5d7..3fd98722a5ef 100644 --- a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListListings/main.go +++ b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListListings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataexchangepb.ListListingsResponse) } } diff --git a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListLocations/main.go b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListLocations/main.go index 40eeddc90aa9..6014ee23f9ba 100644 --- a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListLocations/main.go +++ b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListOrgDataExchanges/main.go b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListOrgDataExchanges/main.go index 9ed28e31cbb4..36545c32b888 100644 --- a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListOrgDataExchanges/main.go +++ b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/AnalyticsHubClient/ListOrgDataExchanges/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataexchangepb.ListOrgDataExchangesResponse) } } diff --git a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json index 616a791b7060..b70d3e9c1f25 100644 --- a/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json +++ b/internal/generated/snippets/bigquery/dataexchange/apiv1beta1/snippet_metadata.google.cloud.bigquery.dataexchange.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/dataexchange/apiv1beta1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1/DataPolicyClient/ListDataPolicies/main.go b/internal/generated/snippets/bigquery/datapolicies/apiv1/DataPolicyClient/ListDataPolicies/main.go index 9b233903798f..df306c4c5e88 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1/DataPolicyClient/ListDataPolicies/main.go +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1/DataPolicyClient/ListDataPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datapoliciespb.ListDataPoliciesResponse) } } diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json b/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json index 4299efd2b5fd..34656a504edf 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1/snippet_metadata.google.cloud.bigquery.datapolicies.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/datapolicies/apiv1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/DataPolicyClient/ListDataPolicies/main.go b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/DataPolicyClient/ListDataPolicies/main.go index f2b6af98ea25..9b14d8090816 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/DataPolicyClient/ListDataPolicies/main.go +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/DataPolicyClient/ListDataPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datapoliciespb.ListDataPoliciesResponse) } } diff --git a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json index a0b34c422a2a..08b44d278388 100644 --- a/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json +++ b/internal/generated/snippets/bigquery/datapolicies/apiv1beta1/snippet_metadata.google.cloud.bigquery.datapolicies.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/datapolicies/apiv1beta1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListDataSources/main.go b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListDataSources/main.go index b72583843600..d78a4a463f5b 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListDataSources/main.go +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListDataSources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListDataSourcesResponse) } } diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListLocations/main.go index 5571f01a5e59..fc531350b668 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferConfigs/main.go b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferConfigs/main.go index 5c66d689c116..df481c6293f7 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferConfigs/main.go +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListTransferConfigsResponse) } } diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferLogs/main.go b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferLogs/main.go index 687726845292..5223162c5b95 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferLogs/main.go +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferLogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListTransferLogsResponse) } } diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferRuns/main.go b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferRuns/main.go index f0b4ff2f9911..8196a95a02b9 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferRuns/main.go +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/Client/ListTransferRuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datatransferpb.ListTransferRunsResponse) } } diff --git a/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json b/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json index 066342785c54..9b25a8e968a4 100644 --- a/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json +++ b/internal/generated/snippets/bigquery/datatransfer/apiv1/snippet_metadata.google.cloud.bigquery.datatransfer.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/datatransfer/apiv1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -463,7 +463,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -509,7 +509,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -555,7 +555,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -601,7 +601,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -647,7 +647,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationSubtasks/main.go b/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationSubtasks/main.go index 5c106e0545d1..0d7e88040825 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationSubtasks/main.go +++ b/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationSubtasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationSubtasksResponse) } } diff --git a/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationWorkflows/main.go b/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationWorkflows/main.go index d6a54fd813f4..957f7b807061 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationWorkflows/main.go +++ b/internal/generated/snippets/bigquery/migration/apiv2/Client/ListMigrationWorkflows/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationWorkflowsResponse) } } diff --git a/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json b/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json index d1dab0ee2de7..cd453be71796 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json +++ b/internal/generated/snippets/bigquery/migration/apiv2/snippet_metadata.google.cloud.bigquery.migration.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/migration/apiv2", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationSubtasks/main.go b/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationSubtasks/main.go index b89c8cf960f5..9349d5f56d5b 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationSubtasks/main.go +++ b/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationSubtasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationSubtasksResponse) } } diff --git a/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationWorkflows/main.go b/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationWorkflows/main.go index d7235f318f2b..ddc95ba338ec 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationWorkflows/main.go +++ b/internal/generated/snippets/bigquery/migration/apiv2alpha/Client/ListMigrationWorkflows/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationpb.ListMigrationWorkflowsResponse) } } diff --git a/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json b/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json index 7917f87d1381..b9aebd6b8090 100644 --- a/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json +++ b/internal/generated/snippets/bigquery/migration/apiv2alpha/snippet_metadata.google.cloud.bigquery.migration.v2alpha.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/migration/apiv2alpha", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListAssignments/main.go b/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListAssignments/main.go index f6ac6c46303c..364ab6670aef 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListAssignments/main.go +++ b/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListAssignments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.ListAssignmentsResponse) } } diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListCapacityCommitments/main.go b/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListCapacityCommitments/main.go index e73966f9b33a..aef4129c1eb6 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListCapacityCommitments/main.go +++ b/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListCapacityCommitments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.ListCapacityCommitmentsResponse) } } diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListReservations/main.go b/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListReservations/main.go index 32f8a1a325e6..c74eb94e875d 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListReservations/main.go +++ b/internal/generated/snippets/bigquery/reservation/apiv1/Client/ListReservations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.ListReservationsResponse) } } diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAllAssignments/main.go b/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAllAssignments/main.go index 284b0a123233..ad000759ceef 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAllAssignments/main.go +++ b/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAllAssignments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.SearchAllAssignmentsResponse) } } diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAssignments/main.go b/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAssignments/main.go index 12a74d88275a..6ab3aade497a 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAssignments/main.go +++ b/internal/generated/snippets/bigquery/reservation/apiv1/Client/SearchAssignments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*reservationpb.SearchAssignmentsResponse) } } diff --git a/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json b/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json index 817599dc11a2..c97e3b67ea76 100644 --- a/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json +++ b/internal/generated/snippets/bigquery/reservation/apiv1/snippet_metadata.google.cloud.bigquery.reservation.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/reservation/apiv1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { @@ -463,7 +463,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -509,7 +509,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -555,7 +555,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -693,7 +693,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -739,7 +739,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json b/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json index 7c031ff1c44f..0bc7b9e64752 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json +++ b/internal/generated/snippets/bigquery/storage/apiv1/snippet_metadata.google.cloud.bigquery.storage.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/storage/apiv1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json b/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json index afefc5ca4fdb..d1df4f955a51 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json +++ b/internal/generated/snippets/bigquery/storage/apiv1beta1/snippet_metadata.google.cloud.bigquery.storage.v1beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/storage/apiv1beta1", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json b/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json index 1e65a13fea48..acc07fc9d004 100644 --- a/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json +++ b/internal/generated/snippets/bigquery/storage/apiv1beta2/snippet_metadata.google.cloud.bigquery.storage.v1beta2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/bigquery/storage/apiv1beta2", - "version": "1.59.1", + "version": "1.60.0", "language": "GO", "apis": [ { diff --git a/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListBillingAccounts/main.go b/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListBillingAccounts/main.go index 618a99c62e54..9bd81d89c764 100644 --- a/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListBillingAccounts/main.go +++ b/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListBillingAccounts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListBillingAccountsResponse) } } diff --git a/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListProjectBillingInfo/main.go b/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListProjectBillingInfo/main.go index f9308ea881df..ba4eb3cef002 100644 --- a/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListProjectBillingInfo/main.go +++ b/internal/generated/snippets/billing/apiv1/CloudBillingClient/ListProjectBillingInfo/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListProjectBillingInfoResponse) } } diff --git a/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListServices/main.go b/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListServices/main.go index d0dd8c7a79b3..d723cd629dfe 100644 --- a/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListServices/main.go +++ b/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListServicesResponse) } } diff --git a/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListSkus/main.go b/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListSkus/main.go index 242669876d61..3106c4b85b24 100644 --- a/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListSkus/main.go +++ b/internal/generated/snippets/billing/apiv1/CloudCatalogClient/ListSkus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*billingpb.ListSkusResponse) } } diff --git a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json index a89b6304b2c1..792a78427d78 100644 --- a/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json +++ b/internal/generated/snippets/billing/apiv1/snippet_metadata.google.cloud.billing.v1.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -604,7 +604,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/billing/budgets/apiv1/BudgetClient/ListBudgets/main.go b/internal/generated/snippets/billing/budgets/apiv1/BudgetClient/ListBudgets/main.go index 7d4af33d23c0..c492f72deb94 100644 --- a/internal/generated/snippets/billing/budgets/apiv1/BudgetClient/ListBudgets/main.go +++ b/internal/generated/snippets/billing/budgets/apiv1/BudgetClient/ListBudgets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*budgetspb.ListBudgetsResponse) } } diff --git a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json index 939e070b5a37..db7291d5daa8 100644 --- a/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json +++ b/internal/generated/snippets/billing/budgets/apiv1/snippet_metadata.google.cloud.billing.budgets.v1.json @@ -189,7 +189,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/billing/budgets/apiv1beta1/BudgetClient/ListBudgets/main.go b/internal/generated/snippets/billing/budgets/apiv1beta1/BudgetClient/ListBudgets/main.go index 94e930865ca0..bc6bf817d760 100644 --- a/internal/generated/snippets/billing/budgets/apiv1beta1/BudgetClient/ListBudgets/main.go +++ b/internal/generated/snippets/billing/budgets/apiv1beta1/BudgetClient/ListBudgets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*budgetspb.ListBudgetsResponse) } } diff --git a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json index 3b637d6bebf9..1ea504909bec 100644 --- a/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json +++ b/internal/generated/snippets/billing/budgets/apiv1beta1/snippet_metadata.google.cloud.billing.budgets.v1beta1.json @@ -189,7 +189,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/binaryauthorization/apiv1/BinauthzManagementClient/ListAttestors/main.go b/internal/generated/snippets/binaryauthorization/apiv1/BinauthzManagementClient/ListAttestors/main.go index 90dd4b507427..32efccd956fb 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1/BinauthzManagementClient/ListAttestors/main.go +++ b/internal/generated/snippets/binaryauthorization/apiv1/BinauthzManagementClient/ListAttestors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*binaryauthorizationpb.ListAttestorsResponse) } } diff --git a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json index 580e55456c5d..f1c1eae03df5 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1/snippet_metadata.google.cloud.binaryauthorization.v1.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/binaryauthorization/apiv1beta1/BinauthzManagementServiceV1Beta1Client/ListAttestors/main.go b/internal/generated/snippets/binaryauthorization/apiv1beta1/BinauthzManagementServiceV1Beta1Client/ListAttestors/main.go index 7e2ff5e4da95..94fe3716f326 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1beta1/BinauthzManagementServiceV1Beta1Client/ListAttestors/main.go +++ b/internal/generated/snippets/binaryauthorization/apiv1beta1/BinauthzManagementServiceV1Beta1Client/ListAttestors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*binaryauthorizationpb.ListAttestorsResponse) } } diff --git a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json index d0a044e9a232..d8427f86b314 100644 --- a/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json +++ b/internal/generated/snippets/binaryauthorization/apiv1beta1/snippet_metadata.google.cloud.binaryauthorization.v1beta1.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateIssuanceConfigs/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateIssuanceConfigs/main.go index 7cd3b33d0173..01a93be61666 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateIssuanceConfigs/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateIssuanceConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificateIssuanceConfigsResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMapEntries/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMapEntries/main.go index ad476fea15a1..d3a8ad11b049 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMapEntries/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMapEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificateMapEntriesResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMaps/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMaps/main.go index 647c7cd74696..bf8b995b97d1 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMaps/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificateMaps/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificateMapsResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificates/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificates/main.go index 00b95e3fed7c..0728b7fa16cd 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificates/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListCertificates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListCertificatesResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListDnsAuthorizations/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListDnsAuthorizations/main.go index eba44ce64188..9f236580e125 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListDnsAuthorizations/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListDnsAuthorizations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListDnsAuthorizationsResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListLocations/main.go index 6a35b11f6847..3ada56396f73 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListOperations/main.go index ae292769bf8a..f096e49ea231 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/Client/ListTrustConfigs/main.go b/internal/generated/snippets/certificatemanager/apiv1/Client/ListTrustConfigs/main.go index 1879c6a912f8..f7410f288114 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/Client/ListTrustConfigs/main.go +++ b/internal/generated/snippets/certificatemanager/apiv1/Client/ListTrustConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*certificatemanagerpb.ListTrustConfigsResponse) } } diff --git a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json index 321c543b89f6..3fd07c0a3140 100644 --- a/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json +++ b/internal/generated/snippets/certificatemanager/apiv1/snippet_metadata.google.cloud.certificatemanager.v1.json @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1292,7 +1292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1338,7 +1338,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1384,7 +1384,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerLinks/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerLinks/main.go index bf92ecc451c1..2cff1b6f2eaf 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerLinks/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListChannelPartnerLinksResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerRepricingConfigs/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerRepricingConfigs/main.go index fb35b1c6adbb..de4f93ee3c49 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerRepricingConfigs/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListChannelPartnerRepricingConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListChannelPartnerRepricingConfigsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomerRepricingConfigs/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomerRepricingConfigs/main.go index 64b8944b6e20..63c397f4f9c2 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomerRepricingConfigs/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomerRepricingConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListCustomerRepricingConfigsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomers/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomers/main.go index 792dd9d7ed07..076e910da125 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomers/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListCustomers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListCustomersResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlementChanges/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlementChanges/main.go index 80c7bf2faa55..608eccba5ed1 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlementChanges/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlementChanges/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListEntitlementChangesResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlements/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlements/main.go index 940997edc277..7f64ce2802c8 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlements/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListEntitlements/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListEntitlementsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOffers/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOffers/main.go index 1a0694291148..61aa61c55b88 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOffers/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOffers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListOffersResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOperations/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOperations/main.go index fe40a4f28be7..677483e2219f 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOperations/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListProducts/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListProducts/main.go index e502bcb1f80a..099687d2f2de 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListProducts/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListProducts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListProductsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableOffers/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableOffers/main.go index b02363835990..f775beafc380 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableOffers/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableOffers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListPurchasableOffersResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableSkus/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableSkus/main.go index 56b3ef5943f5..44fab54fa26b 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableSkus/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListPurchasableSkus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListPurchasableSkusResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroupBillableSkus/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroupBillableSkus/main.go index 59fe2f147a63..c028e23f5985 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroupBillableSkus/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroupBillableSkus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSkuGroupBillableSkusResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroups/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroups/main.go index b059d015e279..21694889cb7f 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroups/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkuGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSkuGroupsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkus/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkus/main.go index 3a56a3b5df70..07787b7140c1 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkus/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSkus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSkusResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSubscribers/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSubscribers/main.go index 13f6ac17f8ce..7d849d939aa1 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSubscribers/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListSubscribers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListSubscribersResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableOffers/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableOffers/main.go index 7b689c413a06..0e19e264f0bd 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableOffers/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableOffers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListTransferableOffersResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableSkus/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableSkus/main.go index d8454965f888..2bc7f196e154 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableSkus/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelClient/ListTransferableSkus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListTransferableSkusResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/FetchReportResults/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/FetchReportResults/main.go index ee77aa693c15..a851fa2bff6b 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/FetchReportResults/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/FetchReportResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.FetchReportResultsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListOperations/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListOperations/main.go index 79f44752fd88..6dcb92329430 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListOperations/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListReports/main.go b/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListReports/main.go index c3a1a5a01d1f..293f935ecbb1 100644 --- a/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListReports/main.go +++ b/internal/generated/snippets/channel/apiv1/CloudChannelReportsClient/ListReports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*channelpb.ListReportsResponse) } } diff --git a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json index a5f94c3ef5f6..f5629cbe0fe7 100644 --- a/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json +++ b/internal/generated/snippets/channel/apiv1/snippet_metadata.google.cloud.channel.v1.json @@ -142,7 +142,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -234,7 +234,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -280,7 +280,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1425,7 +1425,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1471,7 +1471,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1517,7 +1517,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1563,7 +1563,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1609,7 +1609,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1655,7 +1655,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1701,7 +1701,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1747,7 +1747,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1793,7 +1793,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1839,7 +1839,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1885,7 +1885,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1931,7 +1931,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1977,7 +1977,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2023,7 +2023,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2069,7 +2069,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2115,7 +2115,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2161,7 +2161,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuildTriggers/main.go b/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuildTriggers/main.go index 6970f885f5a5..50955c0aa1c3 100644 --- a/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuildTriggers/main.go +++ b/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuildTriggers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListBuildTriggersResponse) } } diff --git a/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuilds/main.go b/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuilds/main.go index 56dd052a60f9..c8a55a7e0f15 100644 --- a/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuilds/main.go +++ b/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListBuilds/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListBuildsResponse) } } diff --git a/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListWorkerPools/main.go b/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListWorkerPools/main.go index 694ca8eaa4b4..db37f64123b5 100644 --- a/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListWorkerPools/main.go +++ b/internal/generated/snippets/cloudbuild/apiv1/v2/Client/ListWorkerPools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListWorkerPoolsResponse) } } diff --git a/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json b/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json index 4f4d3000f3e2..b3d460e460d7 100644 --- a/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json +++ b/internal/generated/snippets/cloudbuild/apiv1/v2/snippet_metadata.google.devtools.cloudbuild.v1.json @@ -511,7 +511,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -557,7 +557,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -603,7 +603,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/FetchLinkableRepositories/main.go b/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/FetchLinkableRepositories/main.go index c0e8ab7fa100..c3b4a38ac37e 100644 --- a/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/FetchLinkableRepositories/main.go +++ b/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/FetchLinkableRepositories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.FetchLinkableRepositoriesResponse) } } diff --git a/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListConnections/main.go b/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListConnections/main.go index 14335a01dcf2..2994e0f9bb31 100644 --- a/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListConnections/main.go +++ b/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListConnectionsResponse) } } diff --git a/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListRepositories/main.go b/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListRepositories/main.go index 09e65b7b0d01..42fbbfe1d153 100644 --- a/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListRepositories/main.go +++ b/internal/generated/snippets/cloudbuild/apiv2/RepositoryManagerClient/ListRepositories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudbuildpb.ListRepositoriesResponse) } } diff --git a/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json b/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json index 53ea507ddee2..42d66d025d66 100644 --- a/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json +++ b/internal/generated/snippets/cloudbuild/apiv2/snippet_metadata.google.devtools.cloudbuild.v2.json @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -695,7 +695,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -741,7 +741,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go index 9b4d6b2c6b1d..da0d478d7b1f 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListAccessApprovalRequestsResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListCustomers/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListCustomers/main.go index 5a7cfb2f17b1..26567b8117bf 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListCustomers/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListCustomers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListCustomersResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListWorkloads/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListWorkloads/main.go index 6380924a0af9..352729f50ec9 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListWorkloads/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerCoreClient/ListWorkloads/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListWorkloadsResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerMonitoringClient/ListViolations/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerMonitoringClient/ListViolations/main.go index 0f6e27d9f653..cbbf9c6c4c86 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerMonitoringClient/ListViolations/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1/CloudControlsPartnerMonitoringClient/ListViolations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListViolationsResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json b/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json index aa80846e0b01..80d759dd2951 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1/snippet_metadata.google.cloud.cloudcontrolspartner.v1.json @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go index 895b7009aec9..a571d6501a51 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListAccessApprovalRequests/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListAccessApprovalRequestsResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListCustomers/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListCustomers/main.go index be36a9d0e7db..8ced073e1e15 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListCustomers/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListCustomers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListCustomersResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListWorkloads/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListWorkloads/main.go index 757eb11667f1..49ed3ccb8d28 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListWorkloads/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerCoreClient/ListWorkloads/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListWorkloadsResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerMonitoringClient/ListViolations/main.go b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerMonitoringClient/ListViolations/main.go index 136e37c5bbcc..ee31a12dddd7 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerMonitoringClient/ListViolations/main.go +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/CloudControlsPartnerMonitoringClient/ListViolations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudcontrolspartnerpb.ListViolationsResponse) } } diff --git a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json index 51f6b5f7539d..eb2be90fefeb 100644 --- a/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json +++ b/internal/generated/snippets/cloudcontrolspartner/apiv1beta/snippet_metadata.google.cloud.cloudcontrolspartner.v1beta.json @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/DescribeDatabaseEntities/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/DescribeDatabaseEntities/main.go index 68e6e87a6f2a..f7126a6e477d 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/DescribeDatabaseEntities/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/DescribeDatabaseEntities/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.DescribeDatabaseEntitiesResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/FetchStaticIps/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/FetchStaticIps/main.go index 241ea37e0c60..f9bfe8a7f23c 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/FetchStaticIps/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/FetchStaticIps/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.FetchStaticIpsResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConnectionProfiles/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConnectionProfiles/main.go index 17ed7f00ae86..cef4b24a52a6 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConnectionProfiles/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConnectionProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListConnectionProfilesResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConversionWorkspaces/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConversionWorkspaces/main.go index 85dddcf6edd2..97384183e5d6 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConversionWorkspaces/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListConversionWorkspaces/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListConversionWorkspacesResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListLocations/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListLocations/main.go index 1d27fcf1fa35..b317131c350a 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListLocations/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMappingRules/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMappingRules/main.go index 1cf5bb4a2b70..d900588e13ac 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMappingRules/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMappingRules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListMappingRulesResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMigrationJobs/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMigrationJobs/main.go index 81660ec429e1..442029a2710b 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMigrationJobs/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListMigrationJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListMigrationJobsResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListOperations/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListOperations/main.go index fae3a57a09ef..bc3696830c96 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListOperations/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListPrivateConnections/main.go b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListPrivateConnections/main.go index 5c6a509e3c93..7d9a678ef20e 100644 --- a/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListPrivateConnections/main.go +++ b/internal/generated/snippets/clouddms/apiv1/DataMigrationClient/ListPrivateConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clouddmspb.ListPrivateConnectionsResponse) } } diff --git a/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json b/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json index 65e018485878..853f61c6ced9 100644 --- a/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json +++ b/internal/generated/snippets/clouddms/apiv1/snippet_metadata.google.cloud.clouddms.v1.json @@ -785,7 +785,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -831,7 +831,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1383,7 +1383,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1429,7 +1429,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1475,7 +1475,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1521,7 +1521,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1567,7 +1567,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1613,7 +1613,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1659,7 +1659,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudprofiler/apiv2/ExportClient/ListProfiles/main.go b/internal/generated/snippets/cloudprofiler/apiv2/ExportClient/ListProfiles/main.go index 6b7893b3340e..6043acf6f491 100644 --- a/internal/generated/snippets/cloudprofiler/apiv2/ExportClient/ListProfiles/main.go +++ b/internal/generated/snippets/cloudprofiler/apiv2/ExportClient/ListProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudprofilerpb.ListProfilesResponse) } } diff --git a/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json b/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json index 53155a340604..9ba0de9ebfea 100644 --- a/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json +++ b/internal/generated/snippets/cloudprofiler/apiv2/snippet_metadata.google.devtools.cloudprofiler.v2.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaInfos/main.go b/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaInfos/main.go index 3d3f1f19dc34..b4edcacf8dbb 100644 --- a/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaInfos/main.go +++ b/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaInfos/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudquotaspb.ListQuotaInfosResponse) } } diff --git a/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaPreferences/main.go b/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaPreferences/main.go index f813edf229e4..cd4e802e8d7b 100644 --- a/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaPreferences/main.go +++ b/internal/generated/snippets/cloudquotas/apiv1/Client/ListQuotaPreferences/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudquotaspb.ListQuotaPreferencesResponse) } } diff --git a/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json b/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json index 952bf7c9fc5b..6f0751b8ce81 100644 --- a/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json +++ b/internal/generated/snippets/cloudquotas/apiv1/snippet_metadata.google.api.cloudquotas.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/cloudquotas/apiv1", - "version": "0.1.2", + "version": "0.1.3", "language": "GO", "apis": [ { @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudtasks/apiv2/Client/ListLocations/main.go b/internal/generated/snippets/cloudtasks/apiv2/Client/ListLocations/main.go index d4ee9e84c360..930f59df369e 100644 --- a/internal/generated/snippets/cloudtasks/apiv2/Client/ListLocations/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2/Client/ListQueues/main.go b/internal/generated/snippets/cloudtasks/apiv2/Client/ListQueues/main.go index 376ed3767d66..54658a746f0c 100644 --- a/internal/generated/snippets/cloudtasks/apiv2/Client/ListQueues/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2/Client/ListQueues/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListQueuesResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2/Client/ListTasks/main.go b/internal/generated/snippets/cloudtasks/apiv2/Client/ListTasks/main.go index 9ed0e85b4b2e..e8734ffd8bd9 100644 --- a/internal/generated/snippets/cloudtasks/apiv2/Client/ListTasks/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2/Client/ListTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListTasksResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json index 583f120e132d..8be7587b7d85 100644 --- a/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json +++ b/internal/generated/snippets/cloudtasks/apiv2/snippet_metadata.google.cloud.tasks.v2.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListLocations/main.go b/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListLocations/main.go index 618471bff99a..557e4c6aae17 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListLocations/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListQueues/main.go b/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListQueues/main.go index 7feb4d08b1b2..12f50580377b 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListQueues/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListQueues/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListQueuesResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListTasks/main.go b/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListTasks/main.go index bac897144b0a..406dd903b2b4 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListTasks/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2beta2/Client/ListTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListTasksResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json index 4a69bd7020d9..5a5c0087cfc6 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta2/snippet_metadata.google.cloud.tasks.v2beta2.json @@ -555,7 +555,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -601,7 +601,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -647,7 +647,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListLocations/main.go b/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListLocations/main.go index f25bbcba665c..5f175853b29e 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListLocations/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListQueues/main.go b/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListQueues/main.go index 04c11d57c02c..1e5468e45294 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListQueues/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListQueues/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListQueuesResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListTasks/main.go b/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListTasks/main.go index 0775e54d71c4..7d49c66f0f1e 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListTasks/main.go +++ b/internal/generated/snippets/cloudtasks/apiv2beta3/Client/ListTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cloudtaskspb.ListTasksResponse) } } diff --git a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json index 4a61a884ed58..ca0f0d8fe350 100644 --- a/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json +++ b/internal/generated/snippets/cloudtasks/apiv2beta3/snippet_metadata.google.cloud.tasks.v2beta3.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/commerce/consumer/procurement/apiv1/ConsumerProcurementClient/ListOrders/main.go b/internal/generated/snippets/commerce/consumer/procurement/apiv1/ConsumerProcurementClient/ListOrders/main.go index 218a8526564b..e3c66cf82319 100644 --- a/internal/generated/snippets/commerce/consumer/procurement/apiv1/ConsumerProcurementClient/ListOrders/main.go +++ b/internal/generated/snippets/commerce/consumer/procurement/apiv1/ConsumerProcurementClient/ListOrders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*procurementpb.ListOrdersResponse) } } diff --git a/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json b/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json index 561c06790835..5b367e37b0f5 100644 --- a/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json +++ b/internal/generated/snippets/commerce/consumer/procurement/apiv1/snippet_metadata.google.cloud.commerce.consumer.procurement.v1.json @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/AggregatedList/main.go index 6a2677fe6f36..7b1215c13e83 100644 --- a/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AcceleratorTypeAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/List/main.go b/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/List/main.go index f83f72793b8d..302e7019348f 100644 --- a/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/AcceleratorTypesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AcceleratorTypeList) } } diff --git a/internal/generated/snippets/compute/apiv1/AddressesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/AddressesClient/AggregatedList/main.go index 646edffa5d1b..cd71b37d32e6 100644 --- a/internal/generated/snippets/compute/apiv1/AddressesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/AddressesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AddressAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/AddressesClient/List/main.go b/internal/generated/snippets/compute/apiv1/AddressesClient/List/main.go index 40953acfb1a1..830e99b3b676 100644 --- a/internal/generated/snippets/compute/apiv1/AddressesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/AddressesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AddressList) } } diff --git a/internal/generated/snippets/compute/apiv1/AutoscalersClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/AutoscalersClient/AggregatedList/main.go index 3b17af8ecc41..b711df2c7c76 100644 --- a/internal/generated/snippets/compute/apiv1/AutoscalersClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/AutoscalersClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AutoscalerAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/AutoscalersClient/List/main.go b/internal/generated/snippets/compute/apiv1/AutoscalersClient/List/main.go index 66d6148209f0..1652f7e43331 100644 --- a/internal/generated/snippets/compute/apiv1/AutoscalersClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/AutoscalersClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AutoscalerList) } } diff --git a/internal/generated/snippets/compute/apiv1/BackendBucketsClient/List/main.go b/internal/generated/snippets/compute/apiv1/BackendBucketsClient/List/main.go index f0fad90e4fc6..e8cc96997ee3 100644 --- a/internal/generated/snippets/compute/apiv1/BackendBucketsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/BackendBucketsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendBucketList) } } diff --git a/internal/generated/snippets/compute/apiv1/BackendServicesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/BackendServicesClient/AggregatedList/main.go index 2f0ff2613ad5..ab0f3cc59d6f 100644 --- a/internal/generated/snippets/compute/apiv1/BackendServicesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/BackendServicesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/BackendServicesClient/List/main.go b/internal/generated/snippets/compute/apiv1/BackendServicesClient/List/main.go index 909468a730e2..e7910ad9b320 100644 --- a/internal/generated/snippets/compute/apiv1/BackendServicesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/BackendServicesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceList) } } diff --git a/internal/generated/snippets/compute/apiv1/BackendServicesClient/ListUsable/main.go b/internal/generated/snippets/compute/apiv1/BackendServicesClient/ListUsable/main.go index ca9b38394454..8ac4d73aa13e 100644 --- a/internal/generated/snippets/compute/apiv1/BackendServicesClient/ListUsable/main.go +++ b/internal/generated/snippets/compute/apiv1/BackendServicesClient/ListUsable/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceListUsable) } } diff --git a/internal/generated/snippets/compute/apiv1/DiskTypesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/DiskTypesClient/AggregatedList/main.go index f378b7d1bc24..3565102e3822 100644 --- a/internal/generated/snippets/compute/apiv1/DiskTypesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/DiskTypesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskTypeAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/DiskTypesClient/List/main.go b/internal/generated/snippets/compute/apiv1/DiskTypesClient/List/main.go index 420b4b6c08d1..dbc71d4f4999 100644 --- a/internal/generated/snippets/compute/apiv1/DiskTypesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/DiskTypesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskTypeList) } } diff --git a/internal/generated/snippets/compute/apiv1/DisksClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/DisksClient/AggregatedList/main.go index 218c43ec85cf..45c18535694c 100644 --- a/internal/generated/snippets/compute/apiv1/DisksClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/DisksClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/DisksClient/List/main.go b/internal/generated/snippets/compute/apiv1/DisksClient/List/main.go index 00deac6bad65..9d5497ca04ed 100644 --- a/internal/generated/snippets/compute/apiv1/DisksClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/DisksClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskList) } } diff --git a/internal/generated/snippets/compute/apiv1/ExternalVpnGatewaysClient/List/main.go b/internal/generated/snippets/compute/apiv1/ExternalVpnGatewaysClient/List/main.go index 91a8543f2e63..de07bd20d6bb 100644 --- a/internal/generated/snippets/compute/apiv1/ExternalVpnGatewaysClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ExternalVpnGatewaysClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ExternalVpnGatewayList) } } diff --git a/internal/generated/snippets/compute/apiv1/FirewallPoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/FirewallPoliciesClient/List/main.go index 3bd23ee539fb..5b1bcf2dd2e0 100644 --- a/internal/generated/snippets/compute/apiv1/FirewallPoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/FirewallPoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallPolicyList) } } diff --git a/internal/generated/snippets/compute/apiv1/FirewallsClient/List/main.go b/internal/generated/snippets/compute/apiv1/FirewallsClient/List/main.go index 5e3550f429b6..dc37f02b7b58 100644 --- a/internal/generated/snippets/compute/apiv1/FirewallsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/FirewallsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallList) } } diff --git a/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/AggregatedList/main.go index 23e2179238b0..5cbc28d7e605 100644 --- a/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ForwardingRuleAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/List/main.go b/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/List/main.go index ac63684aafd2..c4252095799c 100644 --- a/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ForwardingRulesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ForwardingRuleList) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalAddressesClient/List/main.go b/internal/generated/snippets/compute/apiv1/GlobalAddressesClient/List/main.go index e297906055de..1811b6b2603b 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalAddressesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalAddressesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.AddressList) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalForwardingRulesClient/List/main.go b/internal/generated/snippets/compute/apiv1/GlobalForwardingRulesClient/List/main.go index ffde0386788a..602222a2daac 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalForwardingRulesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalForwardingRulesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ForwardingRuleList) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/List/main.go b/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/List/main.go index bc23f454679a..79c6cf56aeb7 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupList) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go b/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go index acb81726f181..b60b2f025bd9 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupsListNetworkEndpoints) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/AggregatedList/main.go index b727391499d9..7450ed538bd4 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/List/main.go b/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/List/main.go index b07220abae57..d8832f0afffb 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalOperationsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalOrganizationOperationsClient/List/main.go b/internal/generated/snippets/compute/apiv1/GlobalOrganizationOperationsClient/List/main.go index 6c35a4b490f8..f09988e968c2 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalOrganizationOperationsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalOrganizationOperationsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/internal/generated/snippets/compute/apiv1/GlobalPublicDelegatedPrefixesClient/List/main.go b/internal/generated/snippets/compute/apiv1/GlobalPublicDelegatedPrefixesClient/List/main.go index 6743f74b1091..3d5111dcc94d 100644 --- a/internal/generated/snippets/compute/apiv1/GlobalPublicDelegatedPrefixesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/GlobalPublicDelegatedPrefixesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicDelegatedPrefixList) } } diff --git a/internal/generated/snippets/compute/apiv1/HealthChecksClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/HealthChecksClient/AggregatedList/main.go index 7aa7bdc0dbe6..111ec4d8d452 100644 --- a/internal/generated/snippets/compute/apiv1/HealthChecksClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/HealthChecksClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthChecksAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/HealthChecksClient/List/main.go b/internal/generated/snippets/compute/apiv1/HealthChecksClient/List/main.go index 889d8d944c30..5e6d60c4f9fe 100644 --- a/internal/generated/snippets/compute/apiv1/HealthChecksClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/HealthChecksClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthCheckList) } } diff --git a/internal/generated/snippets/compute/apiv1/ImagesClient/List/main.go b/internal/generated/snippets/compute/apiv1/ImagesClient/List/main.go index ef537963e742..0bf6d606c6c8 100644 --- a/internal/generated/snippets/compute/apiv1/ImagesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ImagesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ImageList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/AggregatedList/main.go index 380e80d3991b..f93e1330b68b 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagerAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/List/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/List/main.go index 9c9eeb42d4a0..7eed183573fe 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagerList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListErrors/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListErrors/main.go index ff8c888051c9..4527ded491c5 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListErrors/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListErrors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagersListErrorsResponse) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListManagedInstances/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListManagedInstances/main.go index d07c425e8b10..991b5544979f 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListManagedInstances/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListManagedInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagersListManagedInstancesResponse) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListPerInstanceConfigs/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListPerInstanceConfigs/main.go index 3cbea813a20d..82d113119e93 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListPerInstanceConfigs/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupManagersClient/ListPerInstanceConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupManagersListPerInstanceConfigsResp) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/AggregatedList/main.go index 951e31bff4d2..fc12a1a93ad9 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/List/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/List/main.go index 48e2a70bac79..22b7226f98b1 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/ListInstances/main.go b/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/ListInstances/main.go index b2ba7d81717a..81fb357988a3 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/ListInstances/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceGroupsClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceGroupsListInstances) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/AggregatedList/main.go index 021abafca96b..6b0473e76974 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceTemplateAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/List/main.go b/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/List/main.go index 8309ad7880a7..40b521f1f1f8 100644 --- a/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InstanceTemplatesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceTemplateList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstancesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/InstancesClient/AggregatedList/main.go index ef23cc5f5987..f76790efee45 100644 --- a/internal/generated/snippets/compute/apiv1/InstancesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/InstancesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstancesClient/List/main.go b/internal/generated/snippets/compute/apiv1/InstancesClient/List/main.go index 5ad24eb5e77d..14eef97303b4 100644 --- a/internal/generated/snippets/compute/apiv1/InstancesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InstancesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstancesClient/ListReferrers/main.go b/internal/generated/snippets/compute/apiv1/InstancesClient/ListReferrers/main.go index 4ca0b235d735..d514bb22bf64 100644 --- a/internal/generated/snippets/compute/apiv1/InstancesClient/ListReferrers/main.go +++ b/internal/generated/snippets/compute/apiv1/InstancesClient/ListReferrers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceListReferrers) } } diff --git a/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/AggregatedList/main.go index 04a552aa876e..1ef155da0daa 100644 --- a/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstantSnapshotAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/List/main.go b/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/List/main.go index b95f817e5304..647ffe119965 100644 --- a/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InstantSnapshotsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstantSnapshotList) } } diff --git a/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/AggregatedList/main.go index 74f845f30cfd..d9fbecf8a822 100644 --- a/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectAttachmentAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/List/main.go b/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/List/main.go index 98cc34b1f487..0bd979e2f131 100644 --- a/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InterconnectAttachmentsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectAttachmentList) } } diff --git a/internal/generated/snippets/compute/apiv1/InterconnectLocationsClient/List/main.go b/internal/generated/snippets/compute/apiv1/InterconnectLocationsClient/List/main.go index 45b4b33017ab..06d6b4249a95 100644 --- a/internal/generated/snippets/compute/apiv1/InterconnectLocationsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InterconnectLocationsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectLocationList) } } diff --git a/internal/generated/snippets/compute/apiv1/InterconnectRemoteLocationsClient/List/main.go b/internal/generated/snippets/compute/apiv1/InterconnectRemoteLocationsClient/List/main.go index 3a5cf29e17a8..70428624fab5 100644 --- a/internal/generated/snippets/compute/apiv1/InterconnectRemoteLocationsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InterconnectRemoteLocationsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectRemoteLocationList) } } diff --git a/internal/generated/snippets/compute/apiv1/InterconnectsClient/List/main.go b/internal/generated/snippets/compute/apiv1/InterconnectsClient/List/main.go index 352016e77b3b..eabd8e2c2b7f 100644 --- a/internal/generated/snippets/compute/apiv1/InterconnectsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/InterconnectsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InterconnectList) } } diff --git a/internal/generated/snippets/compute/apiv1/LicensesClient/List/main.go b/internal/generated/snippets/compute/apiv1/LicensesClient/List/main.go index 32663e931c38..d84e594292c5 100644 --- a/internal/generated/snippets/compute/apiv1/LicensesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/LicensesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.LicensesListResponse) } } diff --git a/internal/generated/snippets/compute/apiv1/MachineImagesClient/List/main.go b/internal/generated/snippets/compute/apiv1/MachineImagesClient/List/main.go index a0f8946d57ff..06a1a1e1d2d8 100644 --- a/internal/generated/snippets/compute/apiv1/MachineImagesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/MachineImagesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.MachineImageList) } } diff --git a/internal/generated/snippets/compute/apiv1/MachineTypesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/MachineTypesClient/AggregatedList/main.go index 94715358d40b..b5f5440118c8 100644 --- a/internal/generated/snippets/compute/apiv1/MachineTypesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/MachineTypesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.MachineTypeAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/MachineTypesClient/List/main.go b/internal/generated/snippets/compute/apiv1/MachineTypesClient/List/main.go index 0f4a00353bec..2d7ec55fd7a7 100644 --- a/internal/generated/snippets/compute/apiv1/MachineTypesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/MachineTypesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.MachineTypeList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/AggregatedList/main.go index 1790b1de4286..07bcb029fe95 100644 --- a/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkAttachmentAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/List/main.go b/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/List/main.go index 2d39f05bdf57..bb67ee9a90f7 100644 --- a/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworkAttachmentsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkAttachmentList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworkEdgeSecurityServicesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/NetworkEdgeSecurityServicesClient/AggregatedList/main.go index 7e1dae62106d..63b4fdaa4aca 100644 --- a/internal/generated/snippets/compute/apiv1/NetworkEdgeSecurityServicesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworkEdgeSecurityServicesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEdgeSecurityServiceAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/AggregatedList/main.go index ddffc945314c..a0f4359ee9a1 100644 --- a/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/List/main.go b/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/List/main.go index 0a4eb9823dc7..c647a127cf1e 100644 --- a/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go b/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go index d31dafabff96..cc2976a8a7b6 100644 --- a/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworkEndpointGroupsClient/ListNetworkEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupsListNetworkEndpoints) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworkFirewallPoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/NetworkFirewallPoliciesClient/List/main.go index c2c7ccc37f9c..ff51cc84ad16 100644 --- a/internal/generated/snippets/compute/apiv1/NetworkFirewallPoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworkFirewallPoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallPolicyList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworksClient/List/main.go b/internal/generated/snippets/compute/apiv1/NetworksClient/List/main.go index ef757640f1b7..220a3f0aa82d 100644 --- a/internal/generated/snippets/compute/apiv1/NetworksClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworksClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkList) } } diff --git a/internal/generated/snippets/compute/apiv1/NetworksClient/ListPeeringRoutes/main.go b/internal/generated/snippets/compute/apiv1/NetworksClient/ListPeeringRoutes/main.go index 4289cc80fe45..f6c2dd79367b 100644 --- a/internal/generated/snippets/compute/apiv1/NetworksClient/ListPeeringRoutes/main.go +++ b/internal/generated/snippets/compute/apiv1/NetworksClient/ListPeeringRoutes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ExchangedPeeringRoutesList) } } diff --git a/internal/generated/snippets/compute/apiv1/NodeGroupsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/NodeGroupsClient/AggregatedList/main.go index cd255ae62d62..af5d7686b487 100644 --- a/internal/generated/snippets/compute/apiv1/NodeGroupsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/NodeGroupsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeGroupAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/NodeGroupsClient/List/main.go b/internal/generated/snippets/compute/apiv1/NodeGroupsClient/List/main.go index 64b85f8d446b..6d4c0efd6043 100644 --- a/internal/generated/snippets/compute/apiv1/NodeGroupsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/NodeGroupsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeGroupList) } } diff --git a/internal/generated/snippets/compute/apiv1/NodeGroupsClient/ListNodes/main.go b/internal/generated/snippets/compute/apiv1/NodeGroupsClient/ListNodes/main.go index d49059602c2e..35f4adfcac79 100644 --- a/internal/generated/snippets/compute/apiv1/NodeGroupsClient/ListNodes/main.go +++ b/internal/generated/snippets/compute/apiv1/NodeGroupsClient/ListNodes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeGroupsListNodes) } } diff --git a/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/AggregatedList/main.go index eb1704b79bd3..fb8d155c6efe 100644 --- a/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTemplateAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/List/main.go b/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/List/main.go index a0121326812c..356ba1dcdb8c 100644 --- a/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/NodeTemplatesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTemplateList) } } diff --git a/internal/generated/snippets/compute/apiv1/NodeTypesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/NodeTypesClient/AggregatedList/main.go index bd99569d5e87..f20cd13c9148 100644 --- a/internal/generated/snippets/compute/apiv1/NodeTypesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/NodeTypesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTypeAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/NodeTypesClient/List/main.go b/internal/generated/snippets/compute/apiv1/NodeTypesClient/List/main.go index de9707221b53..198df8f3db73 100644 --- a/internal/generated/snippets/compute/apiv1/NodeTypesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/NodeTypesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NodeTypeList) } } diff --git a/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/AggregatedList/main.go index ef9de2ab720b..2af7b9fa1d7c 100644 --- a/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PacketMirroringAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/List/main.go b/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/List/main.go index 9056d58b583e..b7720c714cd4 100644 --- a/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/PacketMirroringsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PacketMirroringList) } } diff --git a/internal/generated/snippets/compute/apiv1/ProjectsClient/GetXpnResources/main.go b/internal/generated/snippets/compute/apiv1/ProjectsClient/GetXpnResources/main.go index a356ee219a28..21bf1d0dcf8d 100644 --- a/internal/generated/snippets/compute/apiv1/ProjectsClient/GetXpnResources/main.go +++ b/internal/generated/snippets/compute/apiv1/ProjectsClient/GetXpnResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ProjectsGetXpnResources) } } diff --git a/internal/generated/snippets/compute/apiv1/ProjectsClient/ListXpnHosts/main.go b/internal/generated/snippets/compute/apiv1/ProjectsClient/ListXpnHosts/main.go index 8194b25d0940..b89141062563 100644 --- a/internal/generated/snippets/compute/apiv1/ProjectsClient/ListXpnHosts/main.go +++ b/internal/generated/snippets/compute/apiv1/ProjectsClient/ListXpnHosts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.XpnHostList) } } diff --git a/internal/generated/snippets/compute/apiv1/PublicAdvertisedPrefixesClient/List/main.go b/internal/generated/snippets/compute/apiv1/PublicAdvertisedPrefixesClient/List/main.go index 0e57175efcb7..7b419123c4e7 100644 --- a/internal/generated/snippets/compute/apiv1/PublicAdvertisedPrefixesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/PublicAdvertisedPrefixesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicAdvertisedPrefixList) } } diff --git a/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/AggregatedList/main.go index 5041bdc1a377..110a7b8e42f2 100644 --- a/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicDelegatedPrefixAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/List/main.go b/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/List/main.go index ab16b92cd8c7..6ded3b51acfc 100644 --- a/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/PublicDelegatedPrefixesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.PublicDelegatedPrefixList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionAutoscalersClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionAutoscalersClient/List/main.go index 0b1683311676..38e69dea44b3 100644 --- a/internal/generated/snippets/compute/apiv1/RegionAutoscalersClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionAutoscalersClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionAutoscalerList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/List/main.go index d92ebde5b8b2..2b1b226e9ca6 100644 --- a/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/ListUsable/main.go b/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/ListUsable/main.go index e27ddcd56e48..487b2d554a8b 100644 --- a/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/ListUsable/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionBackendServicesClient/ListUsable/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.BackendServiceListUsable) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/AggregatedList/main.go index c6031ef4c5a9..6bc57e3f55d7 100644 --- a/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.CommitmentAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/List/main.go index bb901fe865c7..0868aca25793 100644 --- a/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionCommitmentsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.CommitmentList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionDiskTypesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionDiskTypesClient/List/main.go index 6dff1931aac4..0a807fa947be 100644 --- a/internal/generated/snippets/compute/apiv1/RegionDiskTypesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionDiskTypesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionDiskTypeList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionDisksClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionDisksClient/List/main.go index 98ef02273e7d..cdc87737c9b1 100644 --- a/internal/generated/snippets/compute/apiv1/RegionDisksClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionDisksClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.DiskList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionHealthCheckServicesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionHealthCheckServicesClient/List/main.go index f0b5bdf14442..238addece78c 100644 --- a/internal/generated/snippets/compute/apiv1/RegionHealthCheckServicesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionHealthCheckServicesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthCheckServicesList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionHealthChecksClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionHealthChecksClient/List/main.go index b3fcf611d8c1..7e008b803199 100644 --- a/internal/generated/snippets/compute/apiv1/RegionHealthChecksClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionHealthChecksClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.HealthCheckList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/List/main.go index 538f23f6bc57..47f43ba4ab39 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagerList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListErrors/main.go b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListErrors/main.go index e4361c186f48..e14a401d40fb 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListErrors/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListErrors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagersListErrorsResponse) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListManagedInstances/main.go b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListManagedInstances/main.go index ccefd7fbc2f6..cfb34a5c5888 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListManagedInstances/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListManagedInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagersListInstancesResponse) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go index 239b62435821..70f2e9fb38eb 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupManagersClient/ListPerInstanceConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupManagersListInstanceConfigsResp) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/List/main.go index 260c67cf5775..ca1bd2201b59 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/ListInstances/main.go b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/ListInstances/main.go index 31c1f0852dea..feda5356bdb3 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/ListInstances/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstanceGroupsClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionInstanceGroupsListInstances) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstanceTemplatesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionInstanceTemplatesClient/List/main.go index ca5c94858fc5..c35d7b13643e 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstanceTemplatesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstanceTemplatesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstanceTemplateList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionInstantSnapshotsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionInstantSnapshotsClient/List/main.go index b8d6e35cd857..246b14581a59 100644 --- a/internal/generated/snippets/compute/apiv1/RegionInstantSnapshotsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionInstantSnapshotsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.InstantSnapshotList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/List/main.go index 1c59f39cce56..3aefad6a1f9e 100644 --- a/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go b/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go index 690dc3f977e7..cdc9a5e76faa 100644 --- a/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionNetworkEndpointGroupsClient/ListNetworkEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NetworkEndpointGroupsListNetworkEndpoints) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionNetworkFirewallPoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionNetworkFirewallPoliciesClient/List/main.go index 2a93c9e2c58b..98031cf8e466 100644 --- a/internal/generated/snippets/compute/apiv1/RegionNetworkFirewallPoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionNetworkFirewallPoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.FirewallPolicyList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionNotificationEndpointsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionNotificationEndpointsClient/List/main.go index 523df51cced6..fc321a0c86b4 100644 --- a/internal/generated/snippets/compute/apiv1/RegionNotificationEndpointsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionNotificationEndpointsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.NotificationEndpointList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionOperationsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionOperationsClient/List/main.go index cc7db0b3eeeb..b88a09ecd16e 100644 --- a/internal/generated/snippets/compute/apiv1/RegionOperationsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionOperationsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionSecurityPoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionSecurityPoliciesClient/List/main.go index 1f0864cef387..d3662a1203e0 100644 --- a/internal/generated/snippets/compute/apiv1/RegionSecurityPoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionSecurityPoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SecurityPolicyList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionSslCertificatesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionSslCertificatesClient/List/main.go index fb6f08945bb5..758487a4f4d0 100644 --- a/internal/generated/snippets/compute/apiv1/RegionSslCertificatesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionSslCertificatesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslCertificateList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionSslPoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionSslPoliciesClient/List/main.go index bb5eb9436859..79913012ea1f 100644 --- a/internal/generated/snippets/compute/apiv1/RegionSslPoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionSslPoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslPoliciesList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionTargetHttpProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionTargetHttpProxiesClient/List/main.go index 3b60397b7e1c..6235aa664aed 100644 --- a/internal/generated/snippets/compute/apiv1/RegionTargetHttpProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionTargetHttpProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionTargetHttpsProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionTargetHttpsProxiesClient/List/main.go index dce6c9558ebe..2a06daf07be7 100644 --- a/internal/generated/snippets/compute/apiv1/RegionTargetHttpsProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionTargetHttpsProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpsProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionTargetTcpProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionTargetTcpProxiesClient/List/main.go index fa36c720a90b..105902ec1214 100644 --- a/internal/generated/snippets/compute/apiv1/RegionTargetTcpProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionTargetTcpProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetTcpProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionUrlMapsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionUrlMapsClient/List/main.go index 6cc7aa800dd4..bc8a4e8b8d93 100644 --- a/internal/generated/snippets/compute/apiv1/RegionUrlMapsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionUrlMapsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UrlMapList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionZonesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionZonesClient/List/main.go index 75f86b4bd929..0bf0eb8e63dd 100644 --- a/internal/generated/snippets/compute/apiv1/RegionZonesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionZonesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ZoneList) } } diff --git a/internal/generated/snippets/compute/apiv1/RegionsClient/List/main.go b/internal/generated/snippets/compute/apiv1/RegionsClient/List/main.go index d4f96eba4021..2cff7d6c35ce 100644 --- a/internal/generated/snippets/compute/apiv1/RegionsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RegionsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RegionList) } } diff --git a/internal/generated/snippets/compute/apiv1/ReservationsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/ReservationsClient/AggregatedList/main.go index abb79bd1f244..5c6eeaa568a1 100644 --- a/internal/generated/snippets/compute/apiv1/ReservationsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/ReservationsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ReservationAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/ReservationsClient/List/main.go b/internal/generated/snippets/compute/apiv1/ReservationsClient/List/main.go index c5f0d714a875..c4b29a0b742d 100644 --- a/internal/generated/snippets/compute/apiv1/ReservationsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ReservationsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ReservationList) } } diff --git a/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/AggregatedList/main.go index 3e1cfb52feef..e8f66dcd6796 100644 --- a/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ResourcePolicyAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/List/main.go index 3276b05012d7..1d39afa8c5c1 100644 --- a/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ResourcePoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ResourcePolicyList) } } diff --git a/internal/generated/snippets/compute/apiv1/RoutersClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/RoutersClient/AggregatedList/main.go index 13ae0b616ac4..ae35f50c71d6 100644 --- a/internal/generated/snippets/compute/apiv1/RoutersClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/RoutersClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RouterAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/RoutersClient/GetNatMappingInfo/main.go b/internal/generated/snippets/compute/apiv1/RoutersClient/GetNatMappingInfo/main.go index a0652a99c0e2..410b77e17486 100644 --- a/internal/generated/snippets/compute/apiv1/RoutersClient/GetNatMappingInfo/main.go +++ b/internal/generated/snippets/compute/apiv1/RoutersClient/GetNatMappingInfo/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VmEndpointNatMappingsList) } } diff --git a/internal/generated/snippets/compute/apiv1/RoutersClient/List/main.go b/internal/generated/snippets/compute/apiv1/RoutersClient/List/main.go index 2f5be02d09bb..80c984113a50 100644 --- a/internal/generated/snippets/compute/apiv1/RoutersClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RoutersClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RouterList) } } diff --git a/internal/generated/snippets/compute/apiv1/RoutesClient/List/main.go b/internal/generated/snippets/compute/apiv1/RoutesClient/List/main.go index 271d0ee69f99..f9742c43de19 100644 --- a/internal/generated/snippets/compute/apiv1/RoutesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/RoutesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.RouteList) } } diff --git a/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/AggregatedList/main.go index 2676652c0dbb..86a15d1869a8 100644 --- a/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SecurityPoliciesAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/List/main.go index 6c25395f2cce..618962802207 100644 --- a/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/SecurityPoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SecurityPolicyList) } } diff --git a/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/AggregatedList/main.go index 673741e99ba6..597181be9e3b 100644 --- a/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ServiceAttachmentAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/List/main.go b/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/List/main.go index c3e874c675c5..1a9592889150 100644 --- a/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ServiceAttachmentsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ServiceAttachmentList) } } diff --git a/internal/generated/snippets/compute/apiv1/SnapshotsClient/List/main.go b/internal/generated/snippets/compute/apiv1/SnapshotsClient/List/main.go index 1f0fc2b7f4ae..8f44dd1c3489 100644 --- a/internal/generated/snippets/compute/apiv1/SnapshotsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/SnapshotsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SnapshotList) } } diff --git a/internal/generated/snippets/compute/apiv1/SslCertificatesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/SslCertificatesClient/AggregatedList/main.go index ff55e7be3ceb..2e848617c69e 100644 --- a/internal/generated/snippets/compute/apiv1/SslCertificatesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/SslCertificatesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslCertificateAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/SslCertificatesClient/List/main.go b/internal/generated/snippets/compute/apiv1/SslCertificatesClient/List/main.go index f57cc900b948..d91c7c41109c 100644 --- a/internal/generated/snippets/compute/apiv1/SslCertificatesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/SslCertificatesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslCertificateList) } } diff --git a/internal/generated/snippets/compute/apiv1/SslPoliciesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/SslPoliciesClient/AggregatedList/main.go index 22b16e123b91..b551c6d00174 100644 --- a/internal/generated/snippets/compute/apiv1/SslPoliciesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/SslPoliciesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslPoliciesAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/SslPoliciesClient/List/main.go b/internal/generated/snippets/compute/apiv1/SslPoliciesClient/List/main.go index f8779774a85d..87d2e74fe1ee 100644 --- a/internal/generated/snippets/compute/apiv1/SslPoliciesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/SslPoliciesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SslPoliciesList) } } diff --git a/internal/generated/snippets/compute/apiv1/SubnetworksClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/SubnetworksClient/AggregatedList/main.go index 99e03f849c91..3b40bbc434de 100644 --- a/internal/generated/snippets/compute/apiv1/SubnetworksClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/SubnetworksClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SubnetworkAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/SubnetworksClient/List/main.go b/internal/generated/snippets/compute/apiv1/SubnetworksClient/List/main.go index e3e891fbf5b1..ed3debaebfb7 100644 --- a/internal/generated/snippets/compute/apiv1/SubnetworksClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/SubnetworksClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.SubnetworkList) } } diff --git a/internal/generated/snippets/compute/apiv1/SubnetworksClient/ListUsable/main.go b/internal/generated/snippets/compute/apiv1/SubnetworksClient/ListUsable/main.go index c16e941dd329..1b2a7aba8644 100644 --- a/internal/generated/snippets/compute/apiv1/SubnetworksClient/ListUsable/main.go +++ b/internal/generated/snippets/compute/apiv1/SubnetworksClient/ListUsable/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UsableSubnetworksAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetGrpcProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetGrpcProxiesClient/List/main.go index c8a8963a27e7..53da97e27cfe 100644 --- a/internal/generated/snippets/compute/apiv1/TargetGrpcProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetGrpcProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetGrpcProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/AggregatedList/main.go index df30b9543be2..c8f6f2d9b942 100644 --- a/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpProxyAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/List/main.go index 8ccb86a677c3..72c25c6b3c6b 100644 --- a/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetHttpProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/AggregatedList/main.go index db385f9b8e29..1903673ae2a4 100644 --- a/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpsProxyAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/List/main.go index 30c497deef8b..bd221cb6cdc5 100644 --- a/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetHttpsProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetHttpsProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetInstancesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/TargetInstancesClient/AggregatedList/main.go index 5070094f42fa..fcbab056bc44 100644 --- a/internal/generated/snippets/compute/apiv1/TargetInstancesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetInstancesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetInstanceAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetInstancesClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetInstancesClient/List/main.go index c1adb1d56fb0..ee7584d53113 100644 --- a/internal/generated/snippets/compute/apiv1/TargetInstancesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetInstancesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetInstanceList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetPoolsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/TargetPoolsClient/AggregatedList/main.go index 454ec258dbaa..b599f7f54ad6 100644 --- a/internal/generated/snippets/compute/apiv1/TargetPoolsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetPoolsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetPoolAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetPoolsClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetPoolsClient/List/main.go index deb640ef1408..06b9b64d2769 100644 --- a/internal/generated/snippets/compute/apiv1/TargetPoolsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetPoolsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetPoolList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetSslProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetSslProxiesClient/List/main.go index c8bb2e597a04..86bc3d68d889 100644 --- a/internal/generated/snippets/compute/apiv1/TargetSslProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetSslProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetSslProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/AggregatedList/main.go index 25d047bb3681..a3c89cc95bb5 100644 --- a/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetTcpProxyAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/List/main.go index a9948c499aa8..1ba02afede4b 100644 --- a/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetTcpProxiesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetTcpProxyList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/AggregatedList/main.go index 239327303b9b..2fafb8dab757 100644 --- a/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetVpnGatewayAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/List/main.go b/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/List/main.go index 0db84d6d52c9..4e4fb56f2246 100644 --- a/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/TargetVpnGatewaysClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.TargetVpnGatewayList) } } diff --git a/internal/generated/snippets/compute/apiv1/UrlMapsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/UrlMapsClient/AggregatedList/main.go index c91d4ee95615..1d87a6579667 100644 --- a/internal/generated/snippets/compute/apiv1/UrlMapsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/UrlMapsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UrlMapsAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/UrlMapsClient/List/main.go b/internal/generated/snippets/compute/apiv1/UrlMapsClient/List/main.go index 92a7e2b853fc..f23a5efc66fb 100644 --- a/internal/generated/snippets/compute/apiv1/UrlMapsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/UrlMapsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.UrlMapList) } } diff --git a/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/AggregatedList/main.go index 1628abc3d03c..edb71efc14f3 100644 --- a/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnGatewayAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/List/main.go b/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/List/main.go index b71b7428d92c..ee8f0e6da1c3 100644 --- a/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/VpnGatewaysClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnGatewayList) } } diff --git a/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/AggregatedList/main.go b/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/AggregatedList/main.go index d66fac136660..95842d08b3b3 100644 --- a/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/AggregatedList/main.go +++ b/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/AggregatedList/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnTunnelAggregatedList) } } diff --git a/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/List/main.go b/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/List/main.go index 43c545921864..59f38f840b67 100644 --- a/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/VpnTunnelsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.VpnTunnelList) } } diff --git a/internal/generated/snippets/compute/apiv1/ZoneOperationsClient/List/main.go b/internal/generated/snippets/compute/apiv1/ZoneOperationsClient/List/main.go index ea6030155808..18e7230ab376 100644 --- a/internal/generated/snippets/compute/apiv1/ZoneOperationsClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ZoneOperationsClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.OperationList) } } diff --git a/internal/generated/snippets/compute/apiv1/ZonesClient/List/main.go b/internal/generated/snippets/compute/apiv1/ZonesClient/List/main.go index 5dcd78e860f5..1d5a55257bdc 100644 --- a/internal/generated/snippets/compute/apiv1/ZonesClient/List/main.go +++ b/internal/generated/snippets/compute/apiv1/ZonesClient/List/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*computepb.ZoneList) } } diff --git a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json index 4865a5ce0687..3e86068eb69b 100644 --- a/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json +++ b/internal/generated/snippets/compute/apiv1/snippet_metadata.google.cloud.compute.v1.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -696,7 +696,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1110,7 +1110,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1432,7 +1432,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1754,7 +1754,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1800,7 +1800,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2122,7 +2122,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2214,7 +2214,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2306,7 +2306,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2628,7 +2628,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3226,7 +3226,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3778,7 +3778,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4330,7 +4330,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4468,7 +4468,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4652,7 +4652,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4974,7 +4974,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5250,7 +5250,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5664,7 +5664,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5710,7 +5710,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5756,7 +5756,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5894,7 +5894,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6078,7 +6078,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6262,7 +6262,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6354,7 +6354,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6538,7 +6538,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6998,7 +6998,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7274,7 +7274,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7642,7 +7642,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7688,7 +7688,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7734,7 +7734,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7780,7 +7780,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8194,7 +8194,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8378,7 +8378,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8424,7 +8424,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8562,7 +8562,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8792,7 +8792,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9022,7 +9022,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9666,7 +9666,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9712,7 +9712,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11138,7 +11138,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11368,7 +11368,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11552,7 +11552,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11736,7 +11736,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -11920,7 +11920,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12012,7 +12012,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12288,7 +12288,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -12702,7 +12702,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13024,7 +13024,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13162,7 +13162,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13254,7 +13254,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13300,7 +13300,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13530,7 +13530,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13714,7 +13714,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -13944,7 +13944,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14220,7 +14220,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14266,7 +14266,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -14772,7 +14772,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15324,7 +15324,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15370,7 +15370,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15646,7 +15646,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15922,7 +15922,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -15968,7 +15968,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16244,7 +16244,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16474,7 +16474,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16612,7 +16612,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16704,7 +16704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16750,7 +16750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -16934,7 +16934,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17348,7 +17348,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17394,7 +17394,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -17900,7 +17900,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18038,7 +18038,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18268,7 +18268,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18544,7 +18544,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18912,7 +18912,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -18958,7 +18958,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19234,7 +19234,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19372,7 +19372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19510,7 +19510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -19878,7 +19878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20476,7 +20476,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -20706,7 +20706,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21212,7 +21212,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21258,7 +21258,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21304,7 +21304,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21350,7 +21350,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21764,7 +21764,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -21810,7 +21810,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22040,7 +22040,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22316,7 +22316,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22730,7 +22730,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -22776,7 +22776,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -23282,7 +23282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -23742,7 +23742,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -23880,7 +23880,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24202,7 +24202,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24524,7 +24524,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24708,7 +24708,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -24984,7 +24984,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25214,7 +25214,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25536,7 +25536,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25720,7 +25720,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25904,7 +25904,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -25996,7 +25996,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -26042,7 +26042,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -26272,7 +26272,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -26502,7 +26502,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -26732,7 +26732,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -26916,7 +26916,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -27100,7 +27100,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -27238,7 +27238,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -27560,7 +27560,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -27652,7 +27652,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -27882,7 +27882,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -28158,7 +28158,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -28388,7 +28388,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -28848,7 +28848,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -29032,7 +29032,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -29216,7 +29216,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -29262,7 +29262,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -29446,7 +29446,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -29584,7 +29584,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -29860,7 +29860,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -29906,7 +29906,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -30274,7 +30274,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -30366,7 +30366,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -30550,7 +30550,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -30688,7 +30688,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -30872,7 +30872,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -31194,7 +31194,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -31378,7 +31378,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -31562,7 +31562,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -31792,7 +31792,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -32160,7 +32160,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -32436,7 +32436,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -32620,7 +32620,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -32758,7 +32758,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -32942,7 +32942,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -33034,7 +33034,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -33264,7 +33264,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -33448,7 +33448,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -33678,7 +33678,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -33816,7 +33816,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -34000,7 +34000,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -34184,7 +34184,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -34322,7 +34322,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/confidentialcomputing/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/confidentialcomputing/apiv1/Client/ListLocations/main.go index 96e101827698..3a604866f902 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/confidentialcomputing/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json b/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json index fa8a60aa7460..a94b7112fa3d 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json +++ b/internal/generated/snippets/confidentialcomputing/apiv1/snippet_metadata.google.cloud.confidentialcomputing.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/confidentialcomputing/apiv1", - "version": "1.4.2", + "version": "1.5.0", "language": "GO", "apis": [ { @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/Client/ListLocations/main.go b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/Client/ListLocations/main.go index 858fda93855b..3fa7c1718b93 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/Client/ListLocations/main.go +++ b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json index 11220294ced7..716ef013f7e4 100644 --- a/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json +++ b/internal/generated/snippets/confidentialcomputing/apiv1alpha1/snippet_metadata.google.cloud.confidentialcomputing.v1alpha1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/confidentialcomputing/apiv1alpha1", - "version": "1.4.2", + "version": "1.5.0", "language": "GO", "apis": [ { @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/config/apiv1/Client/ListDeployments/main.go b/internal/generated/snippets/config/apiv1/Client/ListDeployments/main.go index d34ba8f7d5d7..45b6b4387c92 100644 --- a/internal/generated/snippets/config/apiv1/Client/ListDeployments/main.go +++ b/internal/generated/snippets/config/apiv1/Client/ListDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListDeploymentsResponse) } } diff --git a/internal/generated/snippets/config/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/config/apiv1/Client/ListLocations/main.go index a14101d4d39a..f9e12bbda564 100644 --- a/internal/generated/snippets/config/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/config/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/config/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/config/apiv1/Client/ListOperations/main.go index edb275d11bdf..dfd9b8f08a3e 100644 --- a/internal/generated/snippets/config/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/config/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/config/apiv1/Client/ListPreviews/main.go b/internal/generated/snippets/config/apiv1/Client/ListPreviews/main.go index 901a17e6607e..ef09a84c6eee 100644 --- a/internal/generated/snippets/config/apiv1/Client/ListPreviews/main.go +++ b/internal/generated/snippets/config/apiv1/Client/ListPreviews/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListPreviewsResponse) } } diff --git a/internal/generated/snippets/config/apiv1/Client/ListResources/main.go b/internal/generated/snippets/config/apiv1/Client/ListResources/main.go index 242797ba8e64..e82ede8b822a 100644 --- a/internal/generated/snippets/config/apiv1/Client/ListResources/main.go +++ b/internal/generated/snippets/config/apiv1/Client/ListResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListResourcesResponse) } } diff --git a/internal/generated/snippets/config/apiv1/Client/ListRevisions/main.go b/internal/generated/snippets/config/apiv1/Client/ListRevisions/main.go index fda53ed3896d..0277493accfd 100644 --- a/internal/generated/snippets/config/apiv1/Client/ListRevisions/main.go +++ b/internal/generated/snippets/config/apiv1/Client/ListRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListRevisionsResponse) } } diff --git a/internal/generated/snippets/config/apiv1/Client/ListTerraformVersions/main.go b/internal/generated/snippets/config/apiv1/Client/ListTerraformVersions/main.go index 419adbd39ec8..519e0203d382 100644 --- a/internal/generated/snippets/config/apiv1/Client/ListTerraformVersions/main.go +++ b/internal/generated/snippets/config/apiv1/Client/ListTerraformVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*configpb.ListTerraformVersionsResponse) } } diff --git a/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json b/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json index 5a5031b0c3d8..cc29a8098d5d 100644 --- a/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json +++ b/internal/generated/snippets/config/apiv1/snippet_metadata.google.cloud.config.v1.json @@ -969,7 +969,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1015,7 +1015,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1061,7 +1061,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1107,7 +1107,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1153,7 +1153,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1199,7 +1199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1245,7 +1245,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListAnalyses/main.go b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListAnalyses/main.go index b419cf999038..9f43ff65276b 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListAnalyses/main.go +++ b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListAnalyses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListAnalysesResponse) } } diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListConversations/main.go b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListConversations/main.go index fb068a9b3617..6b84bba00d51 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListConversations/main.go +++ b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListConversations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListConversationsResponse) } } diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListOperations/main.go index b7e8e7f6b69a..e1c6d963b58b 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListPhraseMatchers/main.go b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListPhraseMatchers/main.go index 20a292e271a0..e53408a29959 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListPhraseMatchers/main.go +++ b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListPhraseMatchers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListPhraseMatchersResponse) } } diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListViews/main.go b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListViews/main.go index 1d19b3f0fd84..82946846b4cc 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListViews/main.go +++ b/internal/generated/snippets/contactcenterinsights/apiv1/Client/ListViews/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*contactcenterinsightspb.ListViewsResponse) } } diff --git a/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json b/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json index 683a61bf3cd5..b22ba96d0240 100644 --- a/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json +++ b/internal/generated/snippets/contactcenterinsights/apiv1/snippet_metadata.google.cloud.contactcenterinsights.v1.json @@ -1288,7 +1288,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1334,7 +1334,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1472,7 +1472,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1518,7 +1518,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1564,7 +1564,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/container/apiv1/ClusterManagerClient/ListUsableSubnetworks/main.go b/internal/generated/snippets/container/apiv1/ClusterManagerClient/ListUsableSubnetworks/main.go index 50ea886779ee..1d45264b0cd0 100644 --- a/internal/generated/snippets/container/apiv1/ClusterManagerClient/ListUsableSubnetworks/main.go +++ b/internal/generated/snippets/container/apiv1/ClusterManagerClient/ListUsableSubnetworks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*containerpb.ListUsableSubnetworksResponse) } } diff --git a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json index ac004cabc885..7ed7b1bdb8f9 100644 --- a/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json +++ b/internal/generated/snippets/container/apiv1/snippet_metadata.google.container.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/container/apiv1", - "version": "1.34.0", + "version": "1.35.0", "language": "GO", "apis": [ { @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNoteOccurrences/main.go b/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNoteOccurrences/main.go index c7ba1ec1e146..dcab087b0ed0 100644 --- a/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNoteOccurrences/main.go +++ b/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNoteOccurrences/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*grafeaspb.ListNoteOccurrencesResponse) } } diff --git a/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNotes/main.go b/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNotes/main.go index 45410eda94fd..74e3e22452e8 100644 --- a/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNotes/main.go +++ b/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListNotes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*grafeaspb.ListNotesResponse) } } diff --git a/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListOccurrences/main.go b/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListOccurrences/main.go index 337932848d28..009d2a742394 100644 --- a/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListOccurrences/main.go +++ b/internal/generated/snippets/containeranalysis/apiv1beta1/GrafeasV1Beta1Client/ListOccurrences/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*grafeaspb.ListOccurrencesResponse) } } diff --git a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json index 24abe5063336..43f7563d2454 100644 --- a/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json +++ b/internal/generated/snippets/containeranalysis/apiv1beta1/snippet_metadata.google.devtools.containeranalysis.v1beta1.json @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datacatalog/apiv1/Client/ListEntries/main.go b/internal/generated/snippets/datacatalog/apiv1/Client/ListEntries/main.go index 46a37144e27c..b8d4cab8cf76 100644 --- a/internal/generated/snippets/datacatalog/apiv1/Client/ListEntries/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/Client/ListEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntriesResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/Client/ListEntryGroups/main.go b/internal/generated/snippets/datacatalog/apiv1/Client/ListEntryGroups/main.go index 12649952d07f..7308e3ee2eaa 100644 --- a/internal/generated/snippets/datacatalog/apiv1/Client/ListEntryGroups/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/Client/ListEntryGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntryGroupsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/datacatalog/apiv1/Client/ListOperations/main.go index 70a1a98044db..3d9cefb873bf 100644 --- a/internal/generated/snippets/datacatalog/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/Client/ListTags/main.go b/internal/generated/snippets/datacatalog/apiv1/Client/ListTags/main.go index 04e10b7e77a4..09106e6b7f25 100644 --- a/internal/generated/snippets/datacatalog/apiv1/Client/ListTags/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/Client/ListTags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTagsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/Client/SearchCatalog/main.go b/internal/generated/snippets/datacatalog/apiv1/Client/SearchCatalog/main.go index ba2cdcd2b3fa..6d4cfe932e86 100644 --- a/internal/generated/snippets/datacatalog/apiv1/Client/SearchCatalog/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/Client/SearchCatalog/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.SearchCatalogResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListOperations/main.go b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListOperations/main.go index ee663ab01638..3036e8bf6121 100644 --- a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListOperations/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListPolicyTags/main.go b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListPolicyTags/main.go index f4f030de9a39..3aa12cc2d9d5 100644 --- a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListPolicyTags/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListPolicyTags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListPolicyTagsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListTaxonomies/main.go b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListTaxonomies/main.go index 937f605a0672..224febe7d89c 100644 --- a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListTaxonomies/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerClient/ListTaxonomies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTaxonomiesResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerSerializationClient/ListOperations/main.go b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerSerializationClient/ListOperations/main.go index 36433f887211..4d6104ea2176 100644 --- a/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerSerializationClient/ListOperations/main.go +++ b/internal/generated/snippets/datacatalog/apiv1/PolicyTagManagerSerializationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json index 567b40376024..56a800001ce4 100644 --- a/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json +++ b/internal/generated/snippets/datacatalog/apiv1/snippet_metadata.google.cloud.datacatalog.v1.json @@ -873,7 +873,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -919,7 +919,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -965,7 +965,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1011,7 +1011,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1333,7 +1333,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2249,7 +2249,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2295,7 +2295,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2341,7 +2341,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2799,7 +2799,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntries/main.go b/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntries/main.go index 352d94c4d459..229db8916845 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntries/main.go +++ b/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntriesResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntryGroups/main.go b/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntryGroups/main.go index 07f8bfe278ac..f1b80aaccc2c 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntryGroups/main.go +++ b/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListEntryGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListEntryGroupsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListTags/main.go b/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListTags/main.go index 6f7ac5b78472..c53acdac3328 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListTags/main.go +++ b/internal/generated/snippets/datacatalog/apiv1beta1/Client/ListTags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTagsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/Client/SearchCatalog/main.go b/internal/generated/snippets/datacatalog/apiv1beta1/Client/SearchCatalog/main.go index caade525fd31..f97496a5607d 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/Client/SearchCatalog/main.go +++ b/internal/generated/snippets/datacatalog/apiv1beta1/Client/SearchCatalog/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.SearchCatalogResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListPolicyTags/main.go b/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListPolicyTags/main.go index cfef0e507b36..cca3326204df 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListPolicyTags/main.go +++ b/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListPolicyTags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListPolicyTagsResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListTaxonomies/main.go b/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListTaxonomies/main.go index c0fd83d3cd3b..b91dfcd2b563 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListTaxonomies/main.go +++ b/internal/generated/snippets/datacatalog/apiv1beta1/PolicyTagManagerClient/ListTaxonomies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datacatalogpb.ListTaxonomiesResponse) } } diff --git a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json index 5f4f5909ffa1..a0339570a061 100644 --- a/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json +++ b/internal/generated/snippets/datacatalog/apiv1beta1/snippet_metadata.google.cloud.datacatalog.v1beta1.json @@ -691,7 +691,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -737,7 +737,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -783,7 +783,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -967,7 +967,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1655,7 +1655,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1701,7 +1701,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/BatchSearchLinkProcesses/main.go b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/BatchSearchLinkProcesses/main.go index 7491fe05eb20..32a20c2d20fa 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/BatchSearchLinkProcesses/main.go +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/BatchSearchLinkProcesses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.BatchSearchLinkProcessesResponse) } } diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListLineageEvents/main.go b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListLineageEvents/main.go index e8cf877f08b3..921f8a80a800 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListLineageEvents/main.go +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListLineageEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.ListLineageEventsResponse) } } diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListOperations/main.go index fbe4baae8872..7f0b820775d4 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListProcesses/main.go b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListProcesses/main.go index d8fd2db8a5c9..6ef7dc515b2d 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListProcesses/main.go +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListProcesses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.ListProcessesResponse) } } diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListRuns/main.go b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListRuns/main.go index 258df0a57354..8bcec7db48c0 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListRuns/main.go +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/ListRuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.ListRunsResponse) } } diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/SearchLinks/main.go b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/SearchLinks/main.go index 629f698012e0..87c3d927190e 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/Client/SearchLinks/main.go +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/Client/SearchLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*lineagepb.SearchLinksResponse) } } diff --git a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json index 332d5dcc25b7..12a83bd704b5 100644 --- a/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json +++ b/internal/generated/snippets/datacatalog/lineage/apiv1/snippet_metadata.google.cloud.datacatalog.lineage.v1.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -647,7 +647,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -693,7 +693,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -739,7 +739,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -785,7 +785,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -877,7 +877,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/AggregatedListJobs/main.go b/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/AggregatedListJobs/main.go index edf2781aad1e..00438ec4f274 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/AggregatedListJobs/main.go +++ b/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/AggregatedListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/ListJobs/main.go b/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/ListJobs/main.go index 7960042c52b2..26ead881128c 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/ListJobs/main.go +++ b/internal/generated/snippets/dataflow/apiv1beta3/JobsV1Beta3Client/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/dataflow/apiv1beta3/MessagesV1Beta3Client/ListJobMessages/main.go b/internal/generated/snippets/dataflow/apiv1beta3/MessagesV1Beta3Client/ListJobMessages/main.go index 1e9f617bc5d4..a73d7ee1c695 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/MessagesV1Beta3Client/ListJobMessages/main.go +++ b/internal/generated/snippets/dataflow/apiv1beta3/MessagesV1Beta3Client/ListJobMessages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.ListJobMessagesResponse) } } diff --git a/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetJobExecutionDetails/main.go b/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetJobExecutionDetails/main.go index 06037f6d5ece..928c88cd9a9b 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetJobExecutionDetails/main.go +++ b/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetJobExecutionDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.JobExecutionDetails) } } diff --git a/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetStageExecutionDetails/main.go b/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetStageExecutionDetails/main.go index b5b076f92380..9e8507203b4f 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetStageExecutionDetails/main.go +++ b/internal/generated/snippets/dataflow/apiv1beta3/MetricsV1Beta3Client/GetStageExecutionDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataflowpb.StageExecutionDetails) } } diff --git a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json index 24b220b67fc3..f3a6514ae889 100644 --- a/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json +++ b/internal/generated/snippets/dataflow/apiv1beta3/snippet_metadata.google.dataflow.v1beta3.json @@ -98,7 +98,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListCompilationResults/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListCompilationResults/main.go index 54c53beff4f7..57eca00e4de7 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListCompilationResults/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListCompilationResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListCompilationResultsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListLocations/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListLocations/main.go index ca150910c031..507ac30dc432 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListLocations/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListRepositories/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListRepositories/main.go index da3198a03bab..762e9514c085 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListRepositories/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListRepositories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListRepositoriesResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkflowInvocations/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkflowInvocations/main.go index d6d87fd1489f..b52928776bb0 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkflowInvocations/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkflowInvocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkflowInvocationsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkspaces/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkspaces/main.go index 6197ff234165..df08ca801012 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkspaces/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/ListWorkspaces/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkspacesResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryCompilationResultActions/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryCompilationResultActions/main.go index 9da3082bb986..7aa53440513f 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryCompilationResultActions/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryCompilationResultActions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryCompilationResultActionsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryDirectoryContents/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryDirectoryContents/main.go index cd2fdb565aad..7ee5e5f8299d 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryDirectoryContents/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryDirectoryContents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryDirectoryContentsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryWorkflowInvocationActions/main.go b/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryWorkflowInvocationActions/main.go index 8e2ac16c1ce8..5afca12a5649 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryWorkflowInvocationActions/main.go +++ b/internal/generated/snippets/dataform/apiv1alpha2/Client/QueryWorkflowInvocationActions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryWorkflowInvocationActionsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json b/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json index c3ab7e45f9bb..e33c6207afe0 100644 --- a/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json +++ b/internal/generated/snippets/dataform/apiv1alpha2/snippet_metadata.google.cloud.dataform.v1alpha2.json @@ -967,7 +967,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1013,7 +1013,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1059,7 +1059,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1105,7 +1105,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1151,7 +1151,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1425,7 +1425,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1471,7 +1471,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1517,7 +1517,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/FetchRepositoryHistory/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/FetchRepositoryHistory/main.go index c22f3cec0b1b..95fa8e8d0c5f 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/FetchRepositoryHistory/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/FetchRepositoryHistory/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.FetchRepositoryHistoryResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/ListCompilationResults/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/ListCompilationResults/main.go index 0538d06586c7..6c2e6421970b 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/ListCompilationResults/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/ListCompilationResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListCompilationResultsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/ListLocations/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/ListLocations/main.go index 75eea1b8e350..58ab4a064678 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/ListLocations/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/ListReleaseConfigs/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/ListReleaseConfigs/main.go index 0b11391a7135..8ea1d1b3eef7 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/ListReleaseConfigs/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/ListReleaseConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListReleaseConfigsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/ListRepositories/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/ListRepositories/main.go index f4974e0ee712..feb7abbd9706 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/ListRepositories/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/ListRepositories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListRepositoriesResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowConfigs/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowConfigs/main.go index 0e13dd03bd7f..4b8fe80fca01 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowConfigs/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkflowConfigsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowInvocations/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowInvocations/main.go index ace58c32e5f0..18561d3e32bd 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowInvocations/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkflowInvocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkflowInvocationsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkspaces/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkspaces/main.go index 7481885d1060..f00bff7a88ae 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkspaces/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/ListWorkspaces/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.ListWorkspacesResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryCompilationResultActions/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryCompilationResultActions/main.go index 21e372967e51..85ee17c13b38 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryCompilationResultActions/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryCompilationResultActions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryCompilationResultActionsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryDirectoryContents/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryDirectoryContents/main.go index 4f6a0c90e593..ffd1753fd1bf 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryDirectoryContents/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryDirectoryContents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryDirectoryContentsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryRepositoryDirectoryContents/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryRepositoryDirectoryContents/main.go index 88742d869514..f6497a42a525 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryRepositoryDirectoryContents/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryRepositoryDirectoryContents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryRepositoryDirectoryContentsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryWorkflowInvocationActions/main.go b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryWorkflowInvocationActions/main.go index f7be2d3743a4..3c703dbc22e0 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/Client/QueryWorkflowInvocationActions/main.go +++ b/internal/generated/snippets/dataform/apiv1beta1/Client/QueryWorkflowInvocationActions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataformpb.QueryWorkflowInvocationActionsResponse) } } diff --git a/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json b/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json index 7664264d7ab7..a9f091db2b3c 100644 --- a/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json +++ b/internal/generated/snippets/dataform/apiv1beta1/snippet_metadata.google.cloud.dataform.v1beta1.json @@ -918,7 +918,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1378,7 +1378,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1424,7 +1424,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1470,7 +1470,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1516,7 +1516,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1562,7 +1562,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1608,7 +1608,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1654,7 +1654,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1928,7 +1928,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1974,7 +1974,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2020,7 +2020,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2066,7 +2066,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datafusion/apiv1/Client/ListAvailableVersions/main.go b/internal/generated/snippets/datafusion/apiv1/Client/ListAvailableVersions/main.go index fb47000e5438..3c963d1b66f8 100644 --- a/internal/generated/snippets/datafusion/apiv1/Client/ListAvailableVersions/main.go +++ b/internal/generated/snippets/datafusion/apiv1/Client/ListAvailableVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datafusionpb.ListAvailableVersionsResponse) } } diff --git a/internal/generated/snippets/datafusion/apiv1/Client/ListInstances/main.go b/internal/generated/snippets/datafusion/apiv1/Client/ListInstances/main.go index 9895e0f9b2d3..dacd829423e6 100644 --- a/internal/generated/snippets/datafusion/apiv1/Client/ListInstances/main.go +++ b/internal/generated/snippets/datafusion/apiv1/Client/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datafusionpb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json b/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json index f5a25ec920fb..6e78b1acd242 100644 --- a/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json +++ b/internal/generated/snippets/datafusion/apiv1/snippet_metadata.google.cloud.datafusion.v1.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotatedDatasets/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotatedDatasets/main.go index d3d981d3d7c7..7b005d9c0b54 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotatedDatasets/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotatedDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListAnnotatedDatasetsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotationSpecSets/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotationSpecSets/main.go index 38b630edbf61..7166cf21764f 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotationSpecSets/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListAnnotationSpecSets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListAnnotationSpecSetsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDataItems/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDataItems/main.go index d1634e891021..12acdd829971 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDataItems/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDataItems/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListDataItemsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDatasets/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDatasets/main.go index 00337475dfe0..04742a6f735f 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDatasets/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListDatasetsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListEvaluationJobs/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListEvaluationJobs/main.go index 50d26f79f2f0..c440fe3d00b9 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListEvaluationJobs/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListEvaluationJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListEvaluationJobsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListExamples/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListExamples/main.go index 1317d02aa070..d67d85d871ca 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListExamples/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListExamples/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListExamplesResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListInstructions/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListInstructions/main.go index e23bb6b610c5..3feb7ea3606c 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListInstructions/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/ListInstructions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.ListInstructionsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchEvaluations/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchEvaluations/main.go index 67ef8d20c8fa..f382cbcc573c 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchEvaluations/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.SearchEvaluationsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchExampleComparisons/main.go b/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchExampleComparisons/main.go index 920719fd2675..36785f422e7a 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchExampleComparisons/main.go +++ b/internal/generated/snippets/datalabeling/apiv1beta1/Client/SearchExampleComparisons/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datalabelingpb.SearchExampleComparisonsResponse) } } diff --git a/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json b/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json index 4353435b3994..9f80d5395b3e 100644 --- a/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json +++ b/internal/generated/snippets/datalabeling/apiv1beta1/snippet_metadata.google.cloud.datalabeling.v1beta1.json @@ -1059,7 +1059,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1105,7 +1105,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1151,7 +1151,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1197,7 +1197,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1243,7 +1243,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1289,7 +1289,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1335,7 +1335,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1471,7 +1471,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1517,7 +1517,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListAspectTypes/main.go b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListAspectTypes/main.go index b00a868aba5d..7bc0cf1b9f7d 100644 --- a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListAspectTypes/main.go +++ b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListAspectTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListAspectTypesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntries/main.go b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntries/main.go index 8eb3c28b1fed..6b202453fc3d 100644 --- a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntries/main.go +++ b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntriesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryGroups/main.go b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryGroups/main.go index f07a6e4fb7e8..7c5fb6d983e1 100644 --- a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryGroups/main.go +++ b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntryGroupsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryTypes/main.go b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryTypes/main.go index 9aea68fa9294..fb909400e901 100644 --- a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryTypes/main.go +++ b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListEntryTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntryTypesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListLocations/main.go b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListLocations/main.go index 4bf29b5db15f..f52463b2c17e 100644 --- a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListLocations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListOperations/main.go b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListOperations/main.go index 329fb5ffbeb9..7a5fafd0a706 100644 --- a/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListOperations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/CatalogClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/CatalogClient/SearchEntries/main.go b/internal/generated/snippets/dataplex/apiv1/CatalogClient/SearchEntries/main.go index 5561c248b62b..dd4eb5f88655 100644 --- a/internal/generated/snippets/dataplex/apiv1/CatalogClient/SearchEntries/main.go +++ b/internal/generated/snippets/dataplex/apiv1/CatalogClient/SearchEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.SearchEntriesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListAssetActions/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListAssetActions/main.go index 21caa4c76de9..662e6b3b3fab 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListAssetActions/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListAssetActions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListActionsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListAssets/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListAssets/main.go index ffb0e417c0b0..12563b4cfe33 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListAssets/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListEnvironments/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListEnvironments/main.go index a235910301e3..4b360abf455f 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListEnvironments/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListJobs/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListJobs/main.go index 9eff769380aa..c40177818777 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListJobs/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListLakeActions/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListLakeActions/main.go index b8800c24805f..ee0a8de6b187 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListLakeActions/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListLakeActions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListActionsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListLakes/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListLakes/main.go index 6b12a21bf223..bd2d3401aedc 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListLakes/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListLakes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListLakesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListLocations/main.go index fa9eb8f5f789..aa6670186d45 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListOperations/main.go index 3f77d247fc23..5f437b4e23f1 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListSessions/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListSessions/main.go index 2c5d2bf7da25..7c1e8a1c09f1 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListSessions/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListSessions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListSessionsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListTasks/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListTasks/main.go index d7cd74ac86c5..57c4357c7bc1 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListTasks/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListTasksResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListZoneActions/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListZoneActions/main.go index 70040931f133..70c4063fb779 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListZoneActions/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListZoneActions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListActionsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/Client/ListZones/main.go b/internal/generated/snippets/dataplex/apiv1/Client/ListZones/main.go index 005fe69c65ca..e9bd00f923ec 100644 --- a/internal/generated/snippets/dataplex/apiv1/Client/ListZones/main.go +++ b/internal/generated/snippets/dataplex/apiv1/Client/ListZones/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListZonesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/ContentClient/ListContent/main.go b/internal/generated/snippets/dataplex/apiv1/ContentClient/ListContent/main.go index 8d8679fa52cc..870fbaacdf19 100644 --- a/internal/generated/snippets/dataplex/apiv1/ContentClient/ListContent/main.go +++ b/internal/generated/snippets/dataplex/apiv1/ContentClient/ListContent/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListContentResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/ContentClient/ListLocations/main.go b/internal/generated/snippets/dataplex/apiv1/ContentClient/ListLocations/main.go index 07541d85916c..607a9e40a981 100644 --- a/internal/generated/snippets/dataplex/apiv1/ContentClient/ListLocations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/ContentClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/ContentClient/ListOperations/main.go b/internal/generated/snippets/dataplex/apiv1/ContentClient/ListOperations/main.go index d67bf05b8748..9e68cc36e101 100644 --- a/internal/generated/snippets/dataplex/apiv1/ContentClient/ListOperations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/ContentClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScanJobs/main.go b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScanJobs/main.go index c987ecb756f0..c3d438319076 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScanJobs/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScanJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataScanJobsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScans/main.go b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScans/main.go index 0628dfe44ac4..19fb64a537d1 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScans/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListDataScans/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataScansResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListLocations/main.go b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListLocations/main.go index 16958458bf31..328ebca82929 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListLocations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListOperations/main.go b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListOperations/main.go index 234a273a4a95..493d5182a8bf 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListOperations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataScanClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributeBindings/main.go b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributeBindings/main.go index 9d71763bf2e6..54a3b903dc14 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributeBindings/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributeBindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataAttributeBindingsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributes/main.go b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributes/main.go index 8187c4af68ab..e8508c26a8d6 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributes/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataAttributes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataAttributesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataTaxonomies/main.go b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataTaxonomies/main.go index d9085376c792..b919ec986e5c 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataTaxonomies/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListDataTaxonomies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListDataTaxonomiesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListLocations/main.go b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListLocations/main.go index ca058e0c5cc6..2a8bd9a4e3da 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListLocations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListOperations/main.go b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListOperations/main.go index 3ea23fcabc5c..a45c3a788f6a 100644 --- a/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListOperations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/DataTaxonomyClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListEntities/main.go b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListEntities/main.go index 5eb4505ce7b8..218268794e42 100644 --- a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListEntities/main.go +++ b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListEntities/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListEntitiesResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListLocations/main.go b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListLocations/main.go index 90552262cb4c..67919039c028 100644 --- a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListLocations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListOperations/main.go b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListOperations/main.go index 78d5b5ca0ff0..33b8dac57ce4 100644 --- a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListOperations/main.go +++ b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListPartitions/main.go b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListPartitions/main.go index fb9b2f3bea48..062f8a5b1020 100644 --- a/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListPartitions/main.go +++ b/internal/generated/snippets/dataplex/apiv1/MetadataClient/ListPartitions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataplexpb.ListPartitionsResponse) } } diff --git a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json index 06cfbb4a6388..6489af91f435 100644 --- a/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json +++ b/internal/generated/snippets/dataplex/apiv1/snippet_metadata.google.cloud.dataplex.v1.json @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1703,7 +1703,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1749,7 +1749,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1795,7 +1795,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2391,7 +2391,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2437,7 +2437,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2483,7 +2483,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2529,7 +2529,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3263,7 +3263,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3309,7 +3309,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3355,7 +3355,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3401,7 +3401,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3447,7 +3447,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4594,7 +4594,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4640,7 +4640,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4686,7 +4686,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4732,7 +4732,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4778,7 +4778,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4824,7 +4824,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4870,7 +4870,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4916,7 +4916,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4962,7 +4962,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5008,7 +5008,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5054,7 +5054,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5100,7 +5100,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5878,7 +5878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5924,7 +5924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5970,7 +5970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6016,7 +6016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListAutoscalingPolicies/main.go b/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListAutoscalingPolicies/main.go index d13c5900b49c..28230279e73f 100644 --- a/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListAutoscalingPolicies/main.go +++ b/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListAutoscalingPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListAutoscalingPoliciesResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListOperations/main.go index 19067c62ce6f..6f131317d9d5 100644 --- a/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/AutoscalingPolicyClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListBatches/main.go b/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListBatches/main.go index e72745c475a5..00c61cab5552 100644 --- a/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListBatches/main.go +++ b/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListBatches/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListBatchesResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListOperations/main.go index de049b5d53d2..9074d4cd7166 100644 --- a/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/BatchControllerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListClusters/main.go b/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListClusters/main.go index a3b7d95df989..590879371ad2 100644 --- a/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListClusters/main.go +++ b/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListClustersResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListOperations/main.go index 7f3f8fda35db..1f4639dcf473 100644 --- a/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/ClusterControllerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListJobs/main.go b/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListJobs/main.go index 469add0cd7d8..79dcae8a4e0c 100644 --- a/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListJobs/main.go +++ b/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListOperations/main.go index 9c8c23f4d847..a8802e493a57 100644 --- a/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/JobControllerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/NodeGroupControllerClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/NodeGroupControllerClient/ListOperations/main.go index 01be74e304ab..a48d3502eab5 100644 --- a/internal/generated/snippets/dataproc/apiv1/NodeGroupControllerClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/NodeGroupControllerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListOperations/main.go index cd046ad5fdc3..b2c4c0e56461 100644 --- a/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListSessions/main.go b/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListSessions/main.go index 525a2f8da3ad..d0eb9305edc1 100644 --- a/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListSessions/main.go +++ b/internal/generated/snippets/dataproc/apiv1/SessionControllerClient/ListSessions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListSessionsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListOperations/main.go index c0328425e1a5..d5da21cb932c 100644 --- a/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListSessionTemplates/main.go b/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListSessionTemplates/main.go index d0224f75c21d..a6ba5178f086 100644 --- a/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListSessionTemplates/main.go +++ b/internal/generated/snippets/dataproc/apiv1/SessionTemplateControllerClient/ListSessionTemplates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListSessionTemplatesResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListOperations/main.go b/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListOperations/main.go index 5d53917f72de..1d22947b1f30 100644 --- a/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListOperations/main.go +++ b/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListWorkflowTemplates/main.go b/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListWorkflowTemplates/main.go index bb9d4dcfb4bb..3bcbcb5584b0 100644 --- a/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListWorkflowTemplates/main.go +++ b/internal/generated/snippets/dataproc/apiv1/WorkflowTemplateClient/ListWorkflowTemplates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dataprocpb.ListWorkflowTemplatesResponse) } } diff --git a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json index 7d574e64f4ff..23cc8f23d2aa 100644 --- a/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json +++ b/internal/generated/snippets/dataproc/apiv1/snippet_metadata.google.cloud.dataproc.v1.json @@ -371,7 +371,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -417,7 +417,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -920,7 +920,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -966,7 +966,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1470,7 +1470,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1516,7 +1516,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2111,7 +2111,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2157,7 +2157,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2707,7 +2707,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3211,7 +3211,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3257,7 +3257,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3760,7 +3760,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3806,7 +3806,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4401,7 +4401,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4447,7 +4447,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListIndexes/main.go b/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListIndexes/main.go index 5c6fe9e74632..ecc1a918723b 100644 --- a/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListIndexes/main.go +++ b/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListIndexes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListIndexesResponse) } } diff --git a/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListOperations/main.go b/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListOperations/main.go index 2857388741ec..ee76b9b3c984 100644 --- a/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/datastore/admin/apiv1/DatastoreAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json b/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json index 8ace687b978d..a14b38e00c29 100644 --- a/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json +++ b/internal/generated/snippets/datastore/admin/apiv1/snippet_metadata.google.datastore.admin.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datastream/apiv1/Client/FetchStaticIps/main.go b/internal/generated/snippets/datastream/apiv1/Client/FetchStaticIps/main.go index f9c42a90bf12..d7c0fee27d59 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/FetchStaticIps/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/FetchStaticIps/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.FetchStaticIpsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/Client/ListConnectionProfiles/main.go b/internal/generated/snippets/datastream/apiv1/Client/ListConnectionProfiles/main.go index d70a7cbc61ed..428d7fba3024 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/ListConnectionProfiles/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/ListConnectionProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListConnectionProfilesResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/datastream/apiv1/Client/ListLocations/main.go index 3d693fe5ddfa..fe06af320c14 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/datastream/apiv1/Client/ListOperations/main.go index b7d9ec6d4f9c..5f09a8a325b8 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/Client/ListPrivateConnections/main.go b/internal/generated/snippets/datastream/apiv1/Client/ListPrivateConnections/main.go index 1aadd784b775..822ec62125e0 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/ListPrivateConnections/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/ListPrivateConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListPrivateConnectionsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/Client/ListRoutes/main.go b/internal/generated/snippets/datastream/apiv1/Client/ListRoutes/main.go index 6d1946d88e80..7177ca1a0d6a 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/ListRoutes/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/ListRoutes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListRoutesResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/Client/ListStreamObjects/main.go b/internal/generated/snippets/datastream/apiv1/Client/ListStreamObjects/main.go index 9f5844527e2f..c53fa88ff3dd 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/ListStreamObjects/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/ListStreamObjects/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListStreamObjectsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/Client/ListStreams/main.go b/internal/generated/snippets/datastream/apiv1/Client/ListStreams/main.go index a39545d533ed..31b5724e053e 100644 --- a/internal/generated/snippets/datastream/apiv1/Client/ListStreams/main.go +++ b/internal/generated/snippets/datastream/apiv1/Client/ListStreams/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListStreamsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json index a819fdb16bf5..affa59577329 100644 --- a/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json +++ b/internal/generated/snippets/datastream/apiv1/snippet_metadata.google.cloud.datastream.v1.json @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/datastream/apiv1alpha1/Client/FetchStaticIps/main.go b/internal/generated/snippets/datastream/apiv1alpha1/Client/FetchStaticIps/main.go index f8c045e4483c..582045c3ba7f 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/Client/FetchStaticIps/main.go +++ b/internal/generated/snippets/datastream/apiv1alpha1/Client/FetchStaticIps/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.FetchStaticIpsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListConnectionProfiles/main.go b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListConnectionProfiles/main.go index d04cd8c9d510..39247ca0dfeb 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListConnectionProfiles/main.go +++ b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListConnectionProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListConnectionProfilesResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListPrivateConnections/main.go b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListPrivateConnections/main.go index b4b0db9a02e4..509d274b1cab 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListPrivateConnections/main.go +++ b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListPrivateConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListPrivateConnectionsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListRoutes/main.go b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListRoutes/main.go index 841209edee02..416ef01dcf30 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListRoutes/main.go +++ b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListRoutes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListRoutesResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListStreams/main.go b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListStreams/main.go index b390f1f886ac..566d6a030773 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/Client/ListStreams/main.go +++ b/internal/generated/snippets/datastream/apiv1alpha1/Client/ListStreams/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*datastreampb.ListStreamsResponse) } } diff --git a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json index 76a325f92d52..b357311807c3 100644 --- a/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json +++ b/internal/generated/snippets/datastream/apiv1alpha1/snippet_metadata.google.cloud.datastream.v1alpha1.json @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -742,7 +742,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -788,7 +788,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -834,7 +834,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -880,7 +880,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomationRuns/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomationRuns/main.go index b8cc62d97631..6daf0e3097a6 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomationRuns/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomationRuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListAutomationRunsResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomations/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomations/main.go index d441ea1f6e6c..4ac87b997b87 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomations/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListAutomations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListAutomationsResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListCustomTargetTypes/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListCustomTargetTypes/main.go index 2d1a4b853209..416d8df771e3 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListCustomTargetTypes/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListCustomTargetTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListCustomTargetTypesResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListDeliveryPipelines/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListDeliveryPipelines/main.go index 9f28c94f22dd..dcc077435d60 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListDeliveryPipelines/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListDeliveryPipelines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListDeliveryPipelinesResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListJobRuns/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListJobRuns/main.go index afd769bc94ac..24ac7e033229 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListJobRuns/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListJobRuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListJobRunsResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListLocations/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListLocations/main.go index 716cb20639ce..95081cb3e4ec 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListLocations/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListOperations/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListOperations/main.go index 7a00646fb171..993f603969f6 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListOperations/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListReleases/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListReleases/main.go index 0be69a374b12..ac284c0da585 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListReleases/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListReleases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListReleasesResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListRollouts/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListRollouts/main.go index ab415908b031..a35c7dd1350e 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListRollouts/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListRollouts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListRolloutsResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListTargets/main.go b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListTargets/main.go index b9e8c0f5e6ea..2b2d2c3cc50e 100644 --- a/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListTargets/main.go +++ b/internal/generated/snippets/deploy/apiv1/CloudDeployClient/ListTargets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deploypb.ListTargetsResponse) } } diff --git a/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json b/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json index 1fd97f6e69c3..83b2ab828252 100644 --- a/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json +++ b/internal/generated/snippets/deploy/apiv1/snippet_metadata.google.cloud.deploy.v1.json @@ -1430,7 +1430,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1476,7 +1476,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1522,7 +1522,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1568,7 +1568,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1614,7 +1614,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1660,7 +1660,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1706,7 +1706,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1752,7 +1752,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1798,7 +1798,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1844,7 +1844,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListLocations/main.go index 75baa3b9c44a..dd6f1f041a25 100644 --- a/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListOperations/main.go index a60d1e7e2af9..c9975093bb9e 100644 --- a/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/AgentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/AgentsClient/SearchAgents/main.go b/internal/generated/snippets/dialogflow/apiv2/AgentsClient/SearchAgents/main.go index 3b29b0c25269..49dabca13ee2 100644 --- a/internal/generated/snippets/dialogflow/apiv2/AgentsClient/SearchAgents/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/AgentsClient/SearchAgents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.SearchAgentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListAnswerRecords/main.go b/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListAnswerRecords/main.go index 78d9852cce8b..00ab658a8ef1 100644 --- a/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListAnswerRecords/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListAnswerRecords/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListAnswerRecordsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListLocations/main.go index bbb228bb8188..d032153bc5b1 100644 --- a/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListOperations/main.go index ec10922703a5..e528c411320f 100644 --- a/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/AnswerRecordsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListContexts/main.go b/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListContexts/main.go index f55479101fdd..3b42b1071887 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListContexts/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListContexts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListContextsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListLocations/main.go index 78235c2698b1..368b2235d094 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListOperations/main.go index d483f16f61ed..52521baaa329 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ContextsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListConversationDatasets/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListConversationDatasets/main.go index fb36f7e90e3a..c104fa799b3e 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListConversationDatasets/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListConversationDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationDatasetsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListLocations/main.go index 4f2ce7ef647c..7debbcc7bdb0 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListOperations/main.go index b5267a495355..7fe4659640f6 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationDatasetsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModelEvaluations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModelEvaluations/main.go index 51ba8b896563..bb0af3602de2 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModelEvaluations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModelEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationModelEvaluationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModels/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModels/main.go index 600c3bebc9c6..49a13adeccc3 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModels/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListConversationModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationModelsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListLocations/main.go index 3be726534e65..a954b44d696e 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListOperations/main.go index dc0d33bb6f14..046ef1dabdbe 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationModelsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListConversationProfiles/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListConversationProfiles/main.go index beea3a9f5f32..a71caa2c11ca 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListConversationProfiles/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListConversationProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationProfilesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListLocations/main.go index 982de5a7989a..b803f9a8a0bf 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListOperations/main.go index 9026b492b606..d8a83c778df3 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationProfilesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListConversations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListConversations/main.go index ed0cba7e7d90..75bc9bec9845 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListConversations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListConversations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListLocations/main.go index b8fce1427555..f7b1e4362a40 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListMessages/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListMessages/main.go index 96e51500b530..4e7589a7e48d 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListMessages/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListMessages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListMessagesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListOperations/main.go index 3422249c32f3..6aaaa4a2f47d 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ConversationsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListDocuments/main.go b/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListDocuments/main.go index f6f7795f59fd..15bb2c3e3812 100644 --- a/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListDocuments/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListLocations/main.go index 3ba573173699..159450e7a72f 100644 --- a/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListOperations/main.go index db114cfb4de2..c7d188a95ede 100644 --- a/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/DocumentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListEntityTypes/main.go b/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListEntityTypes/main.go index a5ad51aef1a6..10aec512d1c4 100644 --- a/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListLocations/main.go index 81f2a0ad1219..82e3a9d16837 100644 --- a/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListOperations/main.go index d70b0488ceec..da7df0b22475 100644 --- a/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/EntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/GetEnvironmentHistory/main.go b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/GetEnvironmentHistory/main.go index 218d285f7d1b..6b8cfd3cfcca 100644 --- a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/GetEnvironmentHistory/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/GetEnvironmentHistory/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.EnvironmentHistory) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListEnvironments/main.go b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListEnvironments/main.go index 29cafd8bc66b..73a2cd056d53 100644 --- a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListEnvironments/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListLocations/main.go index 75e04e7dbb4c..b3a5cd9fc629 100644 --- a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListOperations/main.go index e3c5695d688a..2b81d0385c16 100644 --- a/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/EnvironmentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListLocations/main.go index 8ca6cc309819..70c204cf27c2 100644 --- a/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListOperations/main.go index 6bf7f70cda5c..70497a2743b9 100644 --- a/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/FulfillmentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListIntents/main.go b/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListIntents/main.go index 4d2989fa018d..74a4f570393c 100644 --- a/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListIntents/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListIntents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListIntentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListLocations/main.go index 938bbb12ca79..4673a5b5b089 100644 --- a/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListOperations/main.go index eda27c356951..5ef8989a9ed8 100644 --- a/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/IntentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListKnowledgeBases/main.go b/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListKnowledgeBases/main.go index 2a8ed4164dd5..0207a5290ed7 100644 --- a/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListKnowledgeBases/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListKnowledgeBases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListKnowledgeBasesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListLocations/main.go index 12ddbe7d0aaf..cf22cb2ba7ba 100644 --- a/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListOperations/main.go index c8d9f7a6621f..510e80a25a50 100644 --- a/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/KnowledgeBasesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListLocations/main.go index c22b5b4026a0..c2410b5d57ff 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListOperations/main.go index 3cd67ba096d8..35d0295a3640 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListParticipants/main.go b/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListParticipants/main.go index 4a700bdab654..abb25399a419 100644 --- a/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListParticipants/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/ParticipantsClient/ListParticipants/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListParticipantsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListLocations/main.go index 07bfb49f976a..cbd3530ff83e 100644 --- a/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListOperations/main.go index 14c1c8ed5e7f..d38c93abfec7 100644 --- a/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListSessionEntityTypes/main.go b/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListSessionEntityTypes/main.go index 85f4420f1a1a..fe9d120f5cc7 100644 --- a/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListSessionEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/SessionEntityTypesClient/ListSessionEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListSessionEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListLocations/main.go index 6b8fb6d4c108..040eedcc9908 100644 --- a/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListOperations/main.go index 612e1b630f2a..672a628edf8a 100644 --- a/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/SessionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListLocations/main.go index 9d0f973d37e5..6742be6795db 100644 --- a/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListOperations/main.go index aef867c68e85..1d19d684eb55 100644 --- a/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListVersions/main.go b/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListVersions/main.go index b405c69b0068..5fdea40afbe2 100644 --- a/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListVersions/main.go +++ b/internal/generated/snippets/dialogflow/apiv2/VersionsClient/ListVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListVersionsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json index 0962ed7ccdad..d06ea7f5ac17 100644 --- a/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json +++ b/internal/generated/snippets/dialogflow/apiv2/snippet_metadata.google.cloud.dialogflow.v2.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/apiv2", - "version": "1.51.0", + "version": "1.52.0", "language": "GO", "apis": [ { @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -831,7 +831,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -877,7 +877,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -923,7 +923,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1334,7 +1334,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1380,7 +1380,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1426,7 +1426,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1839,7 +1839,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1885,7 +1885,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1931,7 +1931,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2390,7 +2390,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2436,7 +2436,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2482,7 +2482,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2528,7 +2528,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2940,7 +2940,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2986,7 +2986,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3032,7 +3032,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3491,7 +3491,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3537,7 +3537,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3583,7 +3583,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3629,7 +3629,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4134,7 +4134,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4180,7 +4180,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4226,7 +4226,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4868,7 +4868,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4914,7 +4914,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4960,7 +4960,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5234,7 +5234,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5372,7 +5372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5418,7 +5418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5464,7 +5464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5739,7 +5739,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5785,7 +5785,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6243,7 +6243,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6289,7 +6289,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6335,7 +6335,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6701,7 +6701,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6747,7 +6747,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6793,7 +6793,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7160,7 +7160,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7206,7 +7206,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7252,7 +7252,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7798,7 +7798,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7844,7 +7844,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7890,7 +7890,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8165,7 +8165,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8211,7 +8211,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8573,7 +8573,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8619,7 +8619,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8665,7 +8665,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListLocations/main.go index ce83283a008a..50db5302a23f 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListOperations/main.go index 5db368196289..477558e6f007 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/SearchAgents/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/SearchAgents/main.go index af3d7737bfbf..6c6c047e4770 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/SearchAgents/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/AgentsClient/SearchAgents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.SearchAgentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListAnswerRecords/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListAnswerRecords/main.go index f578962502f8..b34d1e52ab3f 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListAnswerRecords/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListAnswerRecords/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListAnswerRecordsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListLocations/main.go index 38f45a377932..e3e855c03d37 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListOperations/main.go index 3db7d0453615..2cbe99f68748 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/AnswerRecordsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListContexts/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListContexts/main.go index a4828811a14f..28ba03d0ea43 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListContexts/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListContexts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListContextsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListLocations/main.go index f94ac1af22f7..de353009bb8f 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListOperations/main.go index 47d5c305184a..e1cdcf5be340 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ContextsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListConversationProfiles/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListConversationProfiles/main.go index 8459f757356c..4df47e5de506 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListConversationProfiles/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListConversationProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationProfilesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListLocations/main.go index fdc8093b15d0..df1e8f1c7396 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListOperations/main.go index 2f41802e6844..c1b933a8a0c0 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationProfilesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListConversations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListConversations/main.go index 0f4860131887..66758834fdf4 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListConversations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListConversations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListConversationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListLocations/main.go index c474575057a6..627bc5e0c26f 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListMessages/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListMessages/main.go index e88281231f93..8bd24424774b 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListMessages/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListMessages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListMessagesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListOperations/main.go index dbc82ff1681c..49375181032f 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ConversationsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListDocuments/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListDocuments/main.go index 86af6b0b34f6..d3ea59b22660 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListDocuments/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListLocations/main.go index d933302fee90..1bcbade7af48 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListOperations/main.go index 6889da95c42e..9a0f94cabcdc 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/DocumentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListEntityTypes/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListEntityTypes/main.go index e4c7eac4782b..df6fa5c20f37 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListLocations/main.go index d58b94abbdc3..697c2b1be487 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListOperations/main.go index cb3821b8cae2..51547d4f4ec6 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/EntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/GetEnvironmentHistory/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/GetEnvironmentHistory/main.go index 9cec3e49c3b9..c32eb5db4c25 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/GetEnvironmentHistory/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/GetEnvironmentHistory/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.EnvironmentHistory) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListEnvironments/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListEnvironments/main.go index 9c9ff0f1ac37..1b75b7f4618d 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListEnvironments/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListLocations/main.go index ab8c787ca92a..ce15fcb54bb7 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListOperations/main.go index a1b37b29029a..d6a403e9e6a4 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/EnvironmentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListLocations/main.go index c6e9a4a5c1c4..d373f697ba6d 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListOperations/main.go index cb9e4d01c71e..07b9709884fb 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/FulfillmentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListIntents/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListIntents/main.go index c41613899476..58c663cf15cb 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListIntents/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListIntents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListIntentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListLocations/main.go index f38000dbd566..99912e513c97 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListOperations/main.go index 1385725e4836..6365bcbe3a70 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/IntentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListKnowledgeBases/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListKnowledgeBases/main.go index 08e7aac2b1de..15fe97e5c67f 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListKnowledgeBases/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListKnowledgeBases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListKnowledgeBasesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListLocations/main.go index ffb694ab5fe8..06222ce1f58d 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListOperations/main.go index abe7d2ea2a5b..5638792f6f36 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/KnowledgeBasesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListLocations/main.go index 49b034f04f7a..defabc139faf 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListOperations/main.go index f1b44c696cf0..c0ec96c7d980 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListParticipants/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListParticipants/main.go index ea3a5ed0d9ac..f4c36f069ac8 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListParticipants/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListParticipants/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListParticipantsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListSuggestions/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListSuggestions/main.go index 8920dab2f8c3..9d98d693d880 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListSuggestions/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/ParticipantsClient/ListSuggestions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListSuggestionsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListLocations/main.go index 0d6f89f53d40..e3dee3c485b2 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListOperations/main.go index fcfbf92ce7be..acbaa642f868 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go index 5d33434c8135..162b23e84ec8 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListSessionEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListLocations/main.go index f342491c66e7..73b0abcb508d 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListOperations/main.go index 45c28e93ff6c..cb9b9baba550 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/SessionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListLocations/main.go index c87ed133c403..b02fd9d3a18a 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListOperations/main.go index 1779ab85a848..9ea1d1491af6 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListVersions/main.go b/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListVersions/main.go index 4f9140e3358d..e18b33362ff6 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListVersions/main.go +++ b/internal/generated/snippets/dialogflow/apiv2beta1/VersionsClient/ListVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dialogflowpb.ListVersionsResponse) } } diff --git a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json index fd44219ed5ee..4f75939fae0f 100644 --- a/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json +++ b/internal/generated/snippets/dialogflow/apiv2beta1/snippet_metadata.google.cloud.dialogflow.v2beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/apiv2beta1", - "version": "1.51.0", + "version": "1.52.0", "language": "GO", "apis": [ { @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -877,7 +877,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -923,7 +923,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -969,7 +969,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1380,7 +1380,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1426,7 +1426,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1472,7 +1472,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1884,7 +1884,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1930,7 +1930,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1976,7 +1976,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2481,7 +2481,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2527,7 +2527,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2573,7 +2573,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2619,7 +2619,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3078,7 +3078,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3124,7 +3124,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3170,7 +3170,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3812,7 +3812,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3858,7 +3858,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3904,7 +3904,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4178,7 +4178,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4316,7 +4316,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4362,7 +4362,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4408,7 +4408,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4683,7 +4683,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4729,7 +4729,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5187,7 +5187,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5233,7 +5233,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5279,7 +5279,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5645,7 +5645,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5691,7 +5691,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5737,7 +5737,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6150,7 +6150,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6196,7 +6196,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6242,7 +6242,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6288,7 +6288,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6834,7 +6834,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6880,7 +6880,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6926,7 +6926,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7201,7 +7201,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7247,7 +7247,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7609,7 +7609,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7655,7 +7655,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7701,7 +7701,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListAgents/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListAgents/main.go index d546f31bcec2..f745123ab9d6 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListAgents/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListAgents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListAgentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListLocations/main.go index d9766c488328..b992f93e3ac8 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListOperations/main.go index 8844e322d847..d44b6bf7b8f9 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/AgentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListChangelogs/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListChangelogs/main.go index 3707821cb580..8c6853c873cd 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListChangelogs/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListChangelogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListChangelogsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListLocations/main.go index 3d3150370ba9..0e014124ba19 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListOperations/main.go index 380ac306e66d..e9565f60b1ab 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/ChangelogsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListDeployments/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListDeployments/main.go index 6fbc4ece1ef8..5dafed6bfd33 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListDeployments/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListDeploymentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListLocations/main.go index be6ddd12d23f..49a06b3e1182 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListOperations/main.go index 1d9bcfeed9a8..15d59c671dfc 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/DeploymentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListEntityTypes/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListEntityTypes/main.go index e12c6949c828..5a8e55942028 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListLocations/main.go index ed38cfde7c1f..c69442bb1ce6 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListOperations/main.go index 05bacbe12470..2b9509eacfdb 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListContinuousTestResults/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListContinuousTestResults/main.go index 2989b7996cf7..86edf7e78549 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListContinuousTestResults/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListContinuousTestResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListContinuousTestResultsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListEnvironments/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListEnvironments/main.go index f5a0a855d91b..e890e1f103c2 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListEnvironments/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListLocations/main.go index 970240cc0d21..1ca5799ee824 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListOperations/main.go index 1ff5134ae2d8..6f499c1a536e 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/LookupEnvironmentHistory/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/LookupEnvironmentHistory/main.go index 8bd658892eb5..80c58317a964 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/LookupEnvironmentHistory/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/EnvironmentsClient/LookupEnvironmentHistory/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.LookupEnvironmentHistoryResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListExperiments/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListExperiments/main.go index 7ad2e2f67c39..398598978135 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListExperiments/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListExperiments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListExperimentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListLocations/main.go index 90a5f4e5afc4..e85f59ec142e 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListOperations/main.go index 2fe1eb237c8e..5dcfa44cbf54 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/ExperimentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListFlows/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListFlows/main.go index 203767e0b484..a384cb349d2d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListFlows/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListFlows/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListFlowsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListLocations/main.go index 07572cebf7bb..acc04a7d4dc1 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListOperations/main.go index 84a3d14e7f99..1b648909d4d7 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/FlowsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListGenerators/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListGenerators/main.go index ddbca71f73b8..4a7fcbdac1cb 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListGenerators/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListGenerators/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListGeneratorsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListLocations/main.go index 45f493838a43..8aefa44e536d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListOperations/main.go index ab63ff21a882..f4f25608d9ac 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/GeneratorsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListIntents/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListIntents/main.go index e235aec6c7cb..5c354d07a702 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListIntents/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListIntents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListIntentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListLocations/main.go index d7936971b0d8..0454c56d4cd6 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListOperations/main.go index ab4de204c5f7..dfa5a062d16d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/IntentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListLocations/main.go index 6e4db1cdabb9..fc79e33b9996 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListOperations/main.go index df43c9164fcf..b861627d9307 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListPages/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListPages/main.go index 1be538805f37..61c9de735e2a 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListPages/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/PagesClient/ListPages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPagesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListLocations/main.go index 03bd22ea46b2..10aa6611eaad 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListOperations/main.go index 76f86104931a..1127ee48e58e 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListSecuritySettings/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListSecuritySettings/main.go index ec949a1284b3..7335e23f14a4 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListSecuritySettings/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SecuritySettingsClient/ListSecuritySettings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSecuritySettingsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListLocations/main.go index bb968fe85bb0..25e22fa7ca39 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListOperations/main.go index 7922311c61be..3f473008ce15 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListSessionEntityTypes/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListSessionEntityTypes/main.go index 782c909a348c..91795f61f26a 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListSessionEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SessionEntityTypesClient/ListSessionEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSessionEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListLocations/main.go index 91ea94de596e..72bf04514233 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListOperations/main.go index e1079f3a3580..798c7c629aec 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/SessionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListLocations/main.go index 8fc9229cfd7d..23b404bcdfa6 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListOperations/main.go index 5612169fd06d..96b8ce8e1226 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCaseResults/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCaseResults/main.go index 73d47c7e475c..275f8496f7cb 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCaseResults/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCaseResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCaseResultsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCases/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCases/main.go index ed5f24b6ba37..dd9001c2dad9 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCases/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/TestCasesClient/ListTestCases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCasesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListLocations/main.go index 06fe2f1cdffd..ec3d1e89cfb2 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListOperations/main.go index a04f7e183ce2..6cecfae06111 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go index 73ccb3f21f75..c39b6fed53ff 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTransitionRouteGroupsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListLocations/main.go index b886bf72cc19..012f8b49b147 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListOperations/main.go index 2b8e1a9175a0..228c1c3d15bd 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListVersions/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListVersions/main.go index f4b31a3bfd12..aa91a874e344 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListVersions/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/VersionsClient/ListVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListVersionsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListLocations/main.go index 7dc1cc167d21..55c00b89686b 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListOperations/main.go index 1c896d03204d..0047cff7bc56 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListWebhooks/main.go b/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListWebhooks/main.go index 517937439a28..56945269300d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListWebhooks/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3/WebhooksClient/ListWebhooks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListWebhooksResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json index ad1b9001e99e..e897e2ca6a99 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3/snippet_metadata.google.cloud.dialogflow.cx.v3.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3", - "version": "1.51.0", + "version": "1.52.0", "language": "GO", "apis": [ { @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -969,7 +969,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1015,7 +1015,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1061,7 +1061,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1290,7 +1290,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1336,7 +1336,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1382,7 +1382,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1794,7 +1794,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1840,7 +1840,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1886,7 +1886,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2298,7 +2298,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2344,7 +2344,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2390,7 +2390,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2436,7 +2436,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2482,7 +2482,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2894,7 +2894,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2940,7 +2940,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2986,7 +2986,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3582,7 +3582,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3628,7 +3628,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3674,7 +3674,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4132,7 +4132,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4178,7 +4178,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4224,7 +4224,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4682,7 +4682,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4728,7 +4728,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4774,7 +4774,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5140,7 +5140,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5186,7 +5186,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5232,7 +5232,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5598,7 +5598,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5644,7 +5644,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5690,7 +5690,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6056,7 +6056,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6102,7 +6102,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6148,7 +6148,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6469,7 +6469,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6515,7 +6515,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7199,7 +7199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7245,7 +7245,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7291,7 +7291,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7337,7 +7337,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7749,7 +7749,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7795,7 +7795,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7841,7 +7841,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8253,7 +8253,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8299,7 +8299,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8345,7 +8345,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8757,7 +8757,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8803,7 +8803,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8849,7 +8849,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListAgents/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListAgents/main.go index 4352e9bdb728..1b27f181d65d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListAgents/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListAgents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListAgentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListLocations/main.go index 40abeb550bfd..ceceeb9abc34 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListOperations/main.go index a2dabb3397ad..6abbfe0298f5 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/AgentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListChangelogs/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListChangelogs/main.go index ccd4aaaf5233..dd3d1d1c83d6 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListChangelogs/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListChangelogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListChangelogsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListLocations/main.go index 74b6f6deac41..3f68f71bc597 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListOperations/main.go index ee0cd1255b40..d7a8a163325f 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ChangelogsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListDeployments/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListDeployments/main.go index 18696930895c..ea34aac138ba 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListDeployments/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListDeploymentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListLocations/main.go index ae3ee4950662..b639f04d976d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListOperations/main.go index e5e7a512a279..e8356ee22099 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/DeploymentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListEntityTypes/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListEntityTypes/main.go index e13e23988a4e..114b2d85956a 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListLocations/main.go index 0878a0825865..40940691a9f0 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListOperations/main.go index 53e13ecda2e4..91aff1787a52 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListContinuousTestResults/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListContinuousTestResults/main.go index af903cff17c3..4eee7944fc2d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListContinuousTestResults/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListContinuousTestResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListContinuousTestResultsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListEnvironments/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListEnvironments/main.go index 1a884c6cb5dd..24f64add196a 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListEnvironments/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListLocations/main.go index 4a0e90cd75e2..6a9a3714bfc7 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListOperations/main.go index f2a50c60144d..83315c554c7f 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/LookupEnvironmentHistory/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/LookupEnvironmentHistory/main.go index 818be550cd10..f96b61c5fcdd 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/LookupEnvironmentHistory/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/EnvironmentsClient/LookupEnvironmentHistory/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.LookupEnvironmentHistoryResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListExamples/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListExamples/main.go index c61cafc25e32..152aa5b4b614 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListExamples/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListExamples/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListExamplesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListLocations/main.go index a8b6a83b23ba..78abb6aba6bb 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListOperations/main.go index e172ba4d9fd8..446dd9167391 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExamplesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListExperiments/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListExperiments/main.go index 93bda18fe6d1..e21235667492 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListExperiments/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListExperiments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListExperimentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListLocations/main.go index 4d5927621082..a87aaa6e811b 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListOperations/main.go index beb31a7e01a9..fc5f64da1413 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ExperimentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListFlows/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListFlows/main.go index 46c41817fbbb..e03df7a8ae7b 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListFlows/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListFlows/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListFlowsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListLocations/main.go index 80d8021afc7e..1764b4361e16 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListOperations/main.go index d532f65a1a2e..6d2b3c8bc37a 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/FlowsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListGenerators/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListGenerators/main.go index 76add625b49a..7ec517b39e12 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListGenerators/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListGenerators/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListGeneratorsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListLocations/main.go index 051bd3478d01..9d97813659f0 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListOperations/main.go index 633593f4b894..d6328dce2336 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/GeneratorsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListIntents/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListIntents/main.go index f1d7f080c989..922f58b13f84 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListIntents/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListIntents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListIntentsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListLocations/main.go index d6f5e2c5a917..96810314e1cc 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListOperations/main.go index bfd62a6be885..3e36411aa85d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/IntentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListLocations/main.go index 0173067362bb..51e67b7e3031 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListOperations/main.go index 5c582772a9a8..33435712b8e1 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListPages/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListPages/main.go index d693a2bcc4fc..e3a36d8b3d2a 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListPages/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PagesClient/ListPages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPagesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListLocations/main.go index 82b6d70977aa..31054d7d8a3c 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListOperations/main.go index 59687326a047..86fa74f0316b 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybookVersions/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybookVersions/main.go index f32d825c57ca..57b23990aaf9 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybookVersions/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybookVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPlaybookVersionsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybooks/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybooks/main.go index 8525712c5bda..ad8322bb0a28 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybooks/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/PlaybooksClient/ListPlaybooks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListPlaybooksResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListLocations/main.go index fc7fd410434b..309760a897be 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListOperations/main.go index b085d8e844c8..307e26043fef 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListSecuritySettings/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListSecuritySettings/main.go index e02146cc297b..5fa47a4961db 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListSecuritySettings/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SecuritySettingsClient/ListSecuritySettings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSecuritySettingsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListLocations/main.go index ab7cb48ba688..98359ca42f39 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListOperations/main.go index 5116ea4da345..ed65bab8edd2 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go index 7a1a8b100897..72882f5e5206 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionEntityTypesClient/ListSessionEntityTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListSessionEntityTypesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListLocations/main.go index 90e2145b8897..1a10606b9cee 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListOperations/main.go index 25c8f3baecb7..0f850e94895d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/SessionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListLocations/main.go index 060f6957da87..e2040de36ce9 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListOperations/main.go index cf5802722644..b12c4ecf298d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCaseResults/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCaseResults/main.go index da1fd3338f1f..0246070d1322 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCaseResults/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCaseResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCaseResultsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCases/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCases/main.go index 8a5e8e124e7c..7e89824e62ca 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCases/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TestCasesClient/ListTestCases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTestCasesResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListLocations/main.go index 29e8e0764136..d82251df7a23 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListOperations/main.go index b364aa707dda..a1c857a9a4cd 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListTools/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListTools/main.go index 299f892f5af9..980a29132c4d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListTools/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/ToolsClient/ListTools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListToolsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListLocations/main.go index e75353e378b4..f121e640f46f 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListOperations/main.go index ba0ce9cae08f..78b8a59b1a9f 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go index c7557170969e..beeed588e072 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/TransitionRouteGroupsClient/ListTransitionRouteGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListTransitionRouteGroupsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListLocations/main.go index 28d815716723..25d35140e08c 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListOperations/main.go index 9513c8e70041..8131f348b8c7 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListVersions/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListVersions/main.go index 48326cefb04a..95a5d1b3797d 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListVersions/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/VersionsClient/ListVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListVersionsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListLocations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListLocations/main.go index fd3aa85000fc..a79a1363a4ef 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListLocations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListOperations/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListOperations/main.go index c87afb1f2a3d..4fa8f8b025e4 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListOperations/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListWebhooks/main.go b/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListWebhooks/main.go index 5226570b0ea3..d775f1e13227 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListWebhooks/main.go +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/WebhooksClient/ListWebhooks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*cxpb.ListWebhooksResponse) } } diff --git a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json index 486cf21a0e47..41891b666d23 100644 --- a/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json +++ b/internal/generated/snippets/dialogflow/cx/apiv3beta1/snippet_metadata.google.cloud.dialogflow.cx.v3beta1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/dialogflow/cx/apiv3beta1", - "version": "1.51.0", + "version": "1.52.0", "language": "GO", "apis": [ { @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -969,7 +969,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1015,7 +1015,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1061,7 +1061,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1290,7 +1290,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1336,7 +1336,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1382,7 +1382,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1794,7 +1794,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1840,7 +1840,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1886,7 +1886,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2298,7 +2298,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2344,7 +2344,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2390,7 +2390,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2436,7 +2436,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2482,7 +2482,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2894,7 +2894,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2940,7 +2940,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2986,7 +2986,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3352,7 +3352,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3398,7 +3398,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3444,7 +3444,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4040,7 +4040,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4086,7 +4086,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4132,7 +4132,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4590,7 +4590,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4636,7 +4636,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4682,7 +4682,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5140,7 +5140,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5186,7 +5186,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5232,7 +5232,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5598,7 +5598,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5644,7 +5644,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -5690,7 +5690,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6193,7 +6193,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6239,7 +6239,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6285,7 +6285,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6331,7 +6331,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6697,7 +6697,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6743,7 +6743,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6789,7 +6789,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7155,7 +7155,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7201,7 +7201,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7247,7 +7247,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7568,7 +7568,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7614,7 +7614,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8298,7 +8298,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8344,7 +8344,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8390,7 +8390,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8436,7 +8436,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8894,7 +8894,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8940,7 +8940,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -8986,7 +8986,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9352,7 +9352,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9398,7 +9398,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9444,7 +9444,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9856,7 +9856,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9902,7 +9902,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -9948,7 +9948,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10360,7 +10360,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10406,7 +10406,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -10452,7 +10452,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/discoveryengine/apiv1/CompletionClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/CompletionClient/ListOperations/main.go index 212076799415..053e77bf0d78 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/CompletionClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/CompletionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListConversations/main.go b/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListConversations/main.go index 8955b6abb79f..e59cbb14957b 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListConversations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListConversations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListConversationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListOperations/main.go index 139078e1c4fc..896a85d3a62a 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/ConversationalSearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListDataStores/main.go b/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListDataStores/main.go index ab82df0124b1..80785e19dd04 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListDataStores/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListDataStores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDataStoresResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListOperations/main.go index fa4c373d14ff..04a4c4184a5b 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/DataStoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListDocuments/main.go b/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListDocuments/main.go index 9339c233eb86..f3b58f946721 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListDocuments/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListOperations/main.go index 13c610098873..e0b85e807c22 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/DocumentClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListEngines/main.go b/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListEngines/main.go index 757d4a2fdeea..d251b9a4b441 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListEngines/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListEngines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListEnginesResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListOperations/main.go index d044f8b7754b..4463734efb70 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/EngineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListOperations/main.go index 3860f59b7b9f..d739ad87e643 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListSchemas/main.go b/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListSchemas/main.go index fa657f2a51fa..ae421e1dda9a 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListSchemas/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/SchemaClient/ListSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListSchemasResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/SearchClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/SearchClient/ListOperations/main.go index 64bc912903a2..3e244375f224 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/SearchClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/SearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/SearchClient/Search/main.go b/internal/generated/snippets/discoveryengine/apiv1/SearchClient/Search/main.go index 55eae44c082c..f77017abc35c 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/SearchClient/Search/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/SearchClient/Search/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.SearchResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go b/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go index a49c62e4aaf9..410a95373664 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.FetchDomainVerificationStatusResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListOperations/main.go index 8e746c9643ab..691ccc837243 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListTargetSites/main.go b/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListTargetSites/main.go index 20a0f5a05a2c..588272a511f7 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListTargetSites/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/SiteSearchEngineClient/ListTargetSites/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListTargetSitesResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/UserEventClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1/UserEventClient/ListOperations/main.go index 966e61d909fe..c9507330bb47 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/UserEventClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1/UserEventClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json b/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json index 60089dafed10..dcf259e5cdbe 100644 --- a/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json +++ b/internal/generated/snippets/discoveryengine/apiv1/snippet_metadata.google.cloud.discoveryengine.v1.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -511,7 +511,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -557,7 +557,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -833,7 +833,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -879,7 +879,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1568,7 +1568,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1614,7 +1614,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1890,7 +1890,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1936,7 +1936,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2074,7 +2074,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2120,7 +2120,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2442,7 +2442,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2626,7 +2626,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2672,7 +2672,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2948,7 +2948,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/AclConfigClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/AclConfigClient/ListOperations/main.go index 10a224283cb7..c35d5e6d7e50 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/AclConfigClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/AclConfigClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListChunks/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListChunks/main.go index d2619c0ada2a..0211e4ea8b58 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListChunks/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListChunks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListChunksResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListOperations/main.go index 968310e43f43..d4356e15aecc 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/ChunkClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/CompletionClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/CompletionClient/ListOperations/main.go index 2a36885cfabc..43911d0280e9 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/CompletionClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/CompletionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListConversations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListConversations/main.go index def5eb75ee13..2dc46351a6e5 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListConversations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListConversations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListConversationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListOperations/main.go index 88f083b8fa84..0f354c4a5393 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/ConversationalSearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListDataStores/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListDataStores/main.go index e3ed6347d621..5197ec1f0cb6 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListDataStores/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListDataStores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDataStoresResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListOperations/main.go index 7e734421fbd7..995b1b770c10 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/DataStoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListDocuments/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListDocuments/main.go index 28cf0c544016..a54714c6599b 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListDocuments/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListOperations/main.go index 1f43e8f74aab..cb7010f047ea 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/DocumentClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListEngines/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListEngines/main.go index 567a54820ada..2fe466d4b370 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListEngines/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListEngines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListEnginesResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListOperations/main.go index 2ea6f8fd0956..cbc3ed4f6dfd 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/EngineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/EstimateBillingClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/EstimateBillingClient/ListOperations/main.go index d8f1ace04415..caee7b54bb88 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/EstimateBillingClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/EstimateBillingClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/RecommendationClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/RecommendationClient/ListOperations/main.go index e47a37bb5208..f72f01530ae8 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/RecommendationClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/RecommendationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListOperations/main.go index 75c32026ec98..872d4dec216f 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListSchemas/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListSchemas/main.go index 1b666eb7e8b2..6d8858495310 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListSchemas/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SchemaClient/ListSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListSchemasResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/ListOperations/main.go index 17788f37b5ee..63b063db456a 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/Search/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/Search/main.go index 1c43cf961302..7b66a89df4d6 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/Search/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SearchClient/Search/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.SearchResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SearchTuningClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SearchTuningClient/ListOperations/main.go index 8c922c00103f..426dbcd4d6d3 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SearchTuningClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SearchTuningClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListOperations/main.go index 04acb7e657d0..92e8f65352d9 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListServingConfigs/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListServingConfigs/main.go index 600c19e105a0..a58914167f59 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListServingConfigs/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/ServingConfigClient/ListServingConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListServingConfigsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go index 5e8fdebc7180..352347b95285 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.FetchDomainVerificationStatusResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListOperations/main.go index 9513e6263d38..ec05653542ca 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListTargetSites/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListTargetSites/main.go index 38db042be576..3488d27f6776 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListTargetSites/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/SiteSearchEngineClient/ListTargetSites/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListTargetSitesResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/UserEventClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1alpha/UserEventClient/ListOperations/main.go index 9ae13023fd60..f2550cd6ac38 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/UserEventClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/UserEventClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json b/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json index 4960ea5fd886..625e98bd545a 100644 --- a/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json +++ b/internal/generated/snippets/discoveryengine/apiv1alpha/snippet_metadata.google.cloud.discoveryengine.v1alpha.json @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -879,7 +879,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -925,7 +925,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1247,7 +1247,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1293,7 +1293,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1660,7 +1660,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1706,7 +1706,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2028,7 +2028,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2074,7 +2074,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2396,7 +2396,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2488,7 +2488,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2764,7 +2764,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2810,7 +2810,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2948,7 +2948,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2994,7 +2994,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3086,7 +3086,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3270,7 +3270,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3316,7 +3316,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3684,7 +3684,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3868,7 +3868,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3914,7 +3914,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4190,7 +4190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/CompletionClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/CompletionClient/ListOperations/main.go index de6a41296421..3ded4bf49310 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/CompletionClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/CompletionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListConversations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListConversations/main.go index a500a6e3dea6..a8ceed74a382 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListConversations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListConversations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListConversationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListOperations/main.go index 688215135a1a..fab0daf346fa 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/ConversationalSearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListDataStores/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListDataStores/main.go index 8ddcdde135da..c19db0ab2bdd 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListDataStores/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListDataStores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDataStoresResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListOperations/main.go index a981cb0079e1..261115c2a5f1 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/DataStoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListDocuments/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListDocuments/main.go index 2497784d6347..48b83deb3eb8 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListDocuments/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListOperations/main.go index 904ef8af5527..fd588a5828de 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/DocumentClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListEngines/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListEngines/main.go index 36c6c0c012f4..3aba916cc314 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListEngines/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListEngines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListEnginesResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListOperations/main.go index 76cd03aed861..90874b9ed47b 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/EngineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/RecommendationClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/RecommendationClient/ListOperations/main.go index 82de524c5256..1a7fe9f42403 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/RecommendationClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/RecommendationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListOperations/main.go index ebf2cc360348..4ec597ad90b1 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListSchemas/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListSchemas/main.go index 6039feebdde3..6252837b1bd7 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListSchemas/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SchemaClient/ListSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListSchemasResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/ListOperations/main.go index 74a55ae50937..d968830a569d 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/Search/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/Search/main.go index 94c69e2eb545..cd4e477e1e60 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/Search/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SearchClient/Search/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.SearchResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SearchTuningClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SearchTuningClient/ListOperations/main.go index fb62704c8e22..4c7c433e2094 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SearchTuningClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SearchTuningClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListOperations/main.go index 934bb223090f..c0ed9372e5bb 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListServingConfigs/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListServingConfigs/main.go index 4be11fdae893..b3c37822142b 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListServingConfigs/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/ServingConfigClient/ListServingConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListServingConfigsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go index 059b7a76601d..c3962dc0f65e 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/FetchDomainVerificationStatus/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.FetchDomainVerificationStatusResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListOperations/main.go index ee93089bd6ee..5e7715480b54 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListTargetSites/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListTargetSites/main.go index f6c120268dee..45c4b304a3d4 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListTargetSites/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/SiteSearchEngineClient/ListTargetSites/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*discoveryenginepb.ListTargetSitesResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/UserEventClient/ListOperations/main.go b/internal/generated/snippets/discoveryengine/apiv1beta/UserEventClient/ListOperations/main.go index 1cc5e0a20a52..785e9388e1e8 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/UserEventClient/ListOperations/main.go +++ b/internal/generated/snippets/discoveryengine/apiv1beta/UserEventClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json b/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json index 88e8fb356f54..004fa415df13 100644 --- a/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json +++ b/internal/generated/snippets/discoveryengine/apiv1beta/snippet_metadata.google.cloud.discoveryengine.v1beta.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -511,7 +511,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -557,7 +557,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -833,7 +833,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -879,7 +879,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1568,7 +1568,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1614,7 +1614,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1752,7 +1752,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2028,7 +2028,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2074,7 +2074,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2212,7 +2212,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2258,7 +2258,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2350,7 +2350,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2534,7 +2534,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2580,7 +2580,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2948,7 +2948,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3132,7 +3132,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3178,7 +3178,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3454,7 +3454,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListColumnDataProfiles/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListColumnDataProfiles/main.go index f53c68cbb809..6da6b515a1ac 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListColumnDataProfiles/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListColumnDataProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListColumnDataProfilesResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListDeidentifyTemplates/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListDeidentifyTemplates/main.go index c195d4504d4d..b496e41d322d 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListDeidentifyTemplates/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListDeidentifyTemplates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListDeidentifyTemplatesResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListDiscoveryConfigs/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListDiscoveryConfigs/main.go index 0c91c05f9f70..c98027cf2384 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListDiscoveryConfigs/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListDiscoveryConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListDiscoveryConfigsResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListDlpJobs/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListDlpJobs/main.go index d3343d5d1beb..a05cc22a0277 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListDlpJobs/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListDlpJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListDlpJobsResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListInspectTemplates/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListInspectTemplates/main.go index 43e104692165..d0d405677929 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListInspectTemplates/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListInspectTemplates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListInspectTemplatesResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListJobTriggers/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListJobTriggers/main.go index ecf14c8aa22d..5b46c61b8ea0 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListJobTriggers/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListJobTriggers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListJobTriggersResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListProjectDataProfiles/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListProjectDataProfiles/main.go index de744aaa9041..91dcc6c6be4e 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListProjectDataProfiles/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListProjectDataProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListProjectDataProfilesResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListStoredInfoTypes/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListStoredInfoTypes/main.go index 40bc7b305e27..373c52852dc7 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListStoredInfoTypes/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListStoredInfoTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListStoredInfoTypesResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/Client/ListTableDataProfiles/main.go b/internal/generated/snippets/dlp/apiv2/Client/ListTableDataProfiles/main.go index 494e96bd9796..ac449c80ff39 100644 --- a/internal/generated/snippets/dlp/apiv2/Client/ListTableDataProfiles/main.go +++ b/internal/generated/snippets/dlp/apiv2/Client/ListTableDataProfiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dlppb.ListTableDataProfilesResponse) } } diff --git a/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json b/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json index 199269764a15..00ef6bad7687 100644 --- a/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json +++ b/internal/generated/snippets/dlp/apiv2/snippet_metadata.google.privacy.dlp.v2.json @@ -1332,7 +1332,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1378,7 +1378,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1424,7 +1424,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1470,7 +1470,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1562,7 +1562,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1608,7 +1608,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1654,7 +1654,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1700,7 +1700,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1746,7 +1746,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListEvaluations/main.go b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListEvaluations/main.go index d1527ad2c62b..e20eee62b366 100644 --- a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListEvaluations/main.go +++ b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListEvaluationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListLocations/main.go b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListLocations/main.go index 26366dcb2447..b53d8c2d7a82 100644 --- a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListLocations/main.go +++ b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListOperations/main.go b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListOperations/main.go index 45207244a7c5..ae85811bfd7b 100644 --- a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListOperations/main.go +++ b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorTypes/main.go b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorTypes/main.go index 898dda3dc334..1cfde2fea2d3 100644 --- a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorTypes/main.go +++ b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorTypesResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorVersions/main.go b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorVersions/main.go index 634ee0554fff..1abdb0c4a2aa 100644 --- a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorVersions/main.go +++ b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessorVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorVersionsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessors/main.go b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessors/main.go index 900648ac2b14..09aa3bde1fa9 100644 --- a/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessors/main.go +++ b/internal/generated/snippets/documentai/apiv1/DocumentProcessorClient/ListProcessors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json index 9d68a945ea42..b4376be07248 100644 --- a/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json +++ b/internal/generated/snippets/documentai/apiv1/snippet_metadata.google.cloud.documentai.v1.json @@ -787,7 +787,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -833,7 +833,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -879,7 +879,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -925,7 +925,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -971,7 +971,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1017,7 +1017,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListDocuments/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListDocuments/main.go index 682a13230324..aa4d6484b334 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListDocuments/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListLocations/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListLocations/main.go index 35747c763500..1655fec11979 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListLocations/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListOperations/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListOperations/main.go index e56c1f148817..26dec1b14357 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListOperations/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListEvaluations/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListEvaluations/main.go index ca7ec9c67297..e947f4aa6828 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListEvaluations/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListEvaluations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListEvaluationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListLocations/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListLocations/main.go index a0bad6f346c6..65fc6d420141 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListLocations/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListOperations/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListOperations/main.go index 5b8af41c162f..1ca789593b73 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListOperations/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorTypes/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorTypes/main.go index 13b8aec0fc24..6eac627b4102 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorTypes/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorTypesResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorVersions/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorVersions/main.go index e109232eda5c..ed871db41d85 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorVersions/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessorVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorVersionsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessors/main.go b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessors/main.go index bca68b8073b0..7f01c29cba6c 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessors/main.go +++ b/internal/generated/snippets/documentai/apiv1beta3/DocumentProcessorClient/ListProcessors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*documentaipb.ListProcessorsResponse) } } diff --git a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json index 0bbb3351d363..61c63fdd304c 100644 --- a/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json +++ b/internal/generated/snippets/documentai/apiv1beta3/snippet_metadata.google.cloud.documentai.v1beta3.json @@ -833,7 +833,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -879,7 +879,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -925,7 +925,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -971,7 +971,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1017,7 +1017,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1063,7 +1063,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1660,7 +1660,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1706,7 +1706,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1752,7 +1752,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/domains/apiv1beta1/Client/ListRegistrations/main.go b/internal/generated/snippets/domains/apiv1beta1/Client/ListRegistrations/main.go index 5b07d3f418a0..51d11ee8578e 100644 --- a/internal/generated/snippets/domains/apiv1beta1/Client/ListRegistrations/main.go +++ b/internal/generated/snippets/domains/apiv1beta1/Client/ListRegistrations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*domainspb.ListRegistrationsResponse) } } diff --git a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json index 3648dc604427..e0ce80c941a9 100644 --- a/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json +++ b/internal/generated/snippets/domains/apiv1beta1/snippet_metadata.google.cloud.domains.v1beta1.json @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/edgecontainer/apiv1/Client/ListClusters/main.go b/internal/generated/snippets/edgecontainer/apiv1/Client/ListClusters/main.go index 223648fa84fb..d98fd8a90453 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/Client/ListClusters/main.go +++ b/internal/generated/snippets/edgecontainer/apiv1/Client/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListClustersResponse) } } diff --git a/internal/generated/snippets/edgecontainer/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/edgecontainer/apiv1/Client/ListLocations/main.go index a47dc0912093..732259ba0624 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/edgecontainer/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/edgecontainer/apiv1/Client/ListMachines/main.go b/internal/generated/snippets/edgecontainer/apiv1/Client/ListMachines/main.go index 477186aaee39..e73d5daaa9c9 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/Client/ListMachines/main.go +++ b/internal/generated/snippets/edgecontainer/apiv1/Client/ListMachines/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListMachinesResponse) } } diff --git a/internal/generated/snippets/edgecontainer/apiv1/Client/ListNodePools/main.go b/internal/generated/snippets/edgecontainer/apiv1/Client/ListNodePools/main.go index 093148b59c5a..327eaf6cc6d7 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/Client/ListNodePools/main.go +++ b/internal/generated/snippets/edgecontainer/apiv1/Client/ListNodePools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListNodePoolsResponse) } } diff --git a/internal/generated/snippets/edgecontainer/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/edgecontainer/apiv1/Client/ListOperations/main.go index c8aac625ff73..4813871be50a 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/edgecontainer/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/edgecontainer/apiv1/Client/ListVpnConnections/main.go b/internal/generated/snippets/edgecontainer/apiv1/Client/ListVpnConnections/main.go index e2c7b79b7c93..7c312b990598 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/Client/ListVpnConnections/main.go +++ b/internal/generated/snippets/edgecontainer/apiv1/Client/ListVpnConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgecontainerpb.ListVpnConnectionsResponse) } } diff --git a/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json b/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json index 6043abf5472e..94070cf5e6a3 100644 --- a/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json +++ b/internal/generated/snippets/edgecontainer/apiv1/snippet_metadata.google.cloud.edgecontainer.v1.json @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnectAttachments/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnectAttachments/main.go index a9456a92d700..7d0c94df1672 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnectAttachments/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnectAttachments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListInterconnectAttachmentsResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnects/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnects/main.go index aa5054843fe1..836aa1776899 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnects/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListInterconnects/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListInterconnectsResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListLocations/main.go index a78628d1d332..43004ba92d5a 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListNetworks/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListNetworks/main.go index c9c2cb14299c..767921ee4cc8 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListNetworks/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListNetworks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListNetworksResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListOperations/main.go index 3bc31cb08a57..25986de4cd2b 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListRouters/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListRouters/main.go index e4edd4d76832..185f16ec9e11 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListRouters/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListRouters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListRoutersResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListSubnets/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListSubnets/main.go index 043250c0b422..afb4b1423ca1 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListSubnets/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListSubnets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListSubnetsResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/Client/ListZones/main.go b/internal/generated/snippets/edgenetwork/apiv1/Client/ListZones/main.go index 062dc1c91d24..e5ec04144111 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/Client/ListZones/main.go +++ b/internal/generated/snippets/edgenetwork/apiv1/Client/ListZones/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*edgenetworkpb.ListZonesResponse) } } diff --git a/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json b/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json index 330de9dd3cc1..b0a0dcdfd280 100644 --- a/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json +++ b/internal/generated/snippets/edgenetwork/apiv1/snippet_metadata.google.cloud.edgenetwork.v1.json @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1292,7 +1292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1338,7 +1338,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1384,7 +1384,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/essentialcontacts/apiv1/Client/ComputeContacts/main.go b/internal/generated/snippets/essentialcontacts/apiv1/Client/ComputeContacts/main.go index 36419a77a66c..cab6c6e88ae5 100644 --- a/internal/generated/snippets/essentialcontacts/apiv1/Client/ComputeContacts/main.go +++ b/internal/generated/snippets/essentialcontacts/apiv1/Client/ComputeContacts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*essentialcontactspb.ComputeContactsResponse) } } diff --git a/internal/generated/snippets/essentialcontacts/apiv1/Client/ListContacts/main.go b/internal/generated/snippets/essentialcontacts/apiv1/Client/ListContacts/main.go index 3df2ef4c31ee..e0a1cd95079c 100644 --- a/internal/generated/snippets/essentialcontacts/apiv1/Client/ListContacts/main.go +++ b/internal/generated/snippets/essentialcontacts/apiv1/Client/ListContacts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*essentialcontactspb.ListContactsResponse) } } diff --git a/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json b/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json index fcfd53c79a10..9d6ec4631191 100644 --- a/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json +++ b/internal/generated/snippets/essentialcontacts/apiv1/snippet_metadata.google.cloud.essentialcontacts.v1.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/eventarc/apiv1/Client/ListChannelConnections/main.go b/internal/generated/snippets/eventarc/apiv1/Client/ListChannelConnections/main.go index ed4103c3df82..df3f9636543f 100644 --- a/internal/generated/snippets/eventarc/apiv1/Client/ListChannelConnections/main.go +++ b/internal/generated/snippets/eventarc/apiv1/Client/ListChannelConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListChannelConnectionsResponse) } } diff --git a/internal/generated/snippets/eventarc/apiv1/Client/ListChannels/main.go b/internal/generated/snippets/eventarc/apiv1/Client/ListChannels/main.go index 56b7b7727c28..81d29960e229 100644 --- a/internal/generated/snippets/eventarc/apiv1/Client/ListChannels/main.go +++ b/internal/generated/snippets/eventarc/apiv1/Client/ListChannels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListChannelsResponse) } } diff --git a/internal/generated/snippets/eventarc/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/eventarc/apiv1/Client/ListLocations/main.go index 725df139664d..0d7da72061de 100644 --- a/internal/generated/snippets/eventarc/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/eventarc/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/eventarc/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/eventarc/apiv1/Client/ListOperations/main.go index b12f52234e7f..bc6fbabc58f3 100644 --- a/internal/generated/snippets/eventarc/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/eventarc/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/eventarc/apiv1/Client/ListProviders/main.go b/internal/generated/snippets/eventarc/apiv1/Client/ListProviders/main.go index 80e855d986ea..368ef65783e9 100644 --- a/internal/generated/snippets/eventarc/apiv1/Client/ListProviders/main.go +++ b/internal/generated/snippets/eventarc/apiv1/Client/ListProviders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListProvidersResponse) } } diff --git a/internal/generated/snippets/eventarc/apiv1/Client/ListTriggers/main.go b/internal/generated/snippets/eventarc/apiv1/Client/ListTriggers/main.go index c9dcc1236e4f..0f3b690d84a5 100644 --- a/internal/generated/snippets/eventarc/apiv1/Client/ListTriggers/main.go +++ b/internal/generated/snippets/eventarc/apiv1/Client/ListTriggers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*eventarcpb.ListTriggersResponse) } } diff --git a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json index 3f9ab76d54d6..5f12a6ce6be5 100644 --- a/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json +++ b/internal/generated/snippets/eventarc/apiv1/snippet_metadata.google.cloud.eventarc.v1.json @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListBackups/main.go b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListBackups/main.go index 1ecf2a41cb96..0f1a9c6f6646 100644 --- a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListBackups/main.go +++ b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*filestorepb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListInstances/main.go b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListInstances/main.go index b7970e53a2d9..e60f2ab02415 100644 --- a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListInstances/main.go +++ b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*filestorepb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListLocations/main.go b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListLocations/main.go index c3caea1161cc..65e474473b0e 100644 --- a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListLocations/main.go +++ b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListOperations/main.go b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListOperations/main.go index 390b9756ab33..254c9ebd1840 100644 --- a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListOperations/main.go +++ b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListSnapshots/main.go b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListSnapshots/main.go index 8e7fbd00d2ec..5f64905b6700 100644 --- a/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListSnapshots/main.go +++ b/internal/generated/snippets/filestore/apiv1/CloudFilestoreManagerClient/ListSnapshots/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*filestorepb.ListSnapshotsResponse) } } diff --git a/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json b/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json index fc8c3e3ea2a6..e1c189e2f8ea 100644 --- a/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json +++ b/internal/generated/snippets/filestore/apiv1/snippet_metadata.google.cloud.filestore.v1.json @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/firestore/apiv1/Client/ListCollectionIds/main.go b/internal/generated/snippets/firestore/apiv1/Client/ListCollectionIds/main.go index a52870988ba6..7f7e31805031 100644 --- a/internal/generated/snippets/firestore/apiv1/Client/ListCollectionIds/main.go +++ b/internal/generated/snippets/firestore/apiv1/Client/ListCollectionIds/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*firestorepb.ListCollectionIdsResponse) } } diff --git a/internal/generated/snippets/firestore/apiv1/Client/ListDocuments/main.go b/internal/generated/snippets/firestore/apiv1/Client/ListDocuments/main.go index 11e8283334b7..b25967c2a7bf 100644 --- a/internal/generated/snippets/firestore/apiv1/Client/ListDocuments/main.go +++ b/internal/generated/snippets/firestore/apiv1/Client/ListDocuments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*firestorepb.ListDocumentsResponse) } } diff --git a/internal/generated/snippets/firestore/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/firestore/apiv1/Client/ListOperations/main.go index 9bb59537897f..477ca7b14950 100644 --- a/internal/generated/snippets/firestore/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/firestore/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/firestore/apiv1/Client/PartitionQuery/main.go b/internal/generated/snippets/firestore/apiv1/Client/PartitionQuery/main.go index 7fa442672bbe..061536f8f673 100644 --- a/internal/generated/snippets/firestore/apiv1/Client/PartitionQuery/main.go +++ b/internal/generated/snippets/firestore/apiv1/Client/PartitionQuery/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*firestorepb.PartitionQueryResponse) } } diff --git a/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListFields/main.go b/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListFields/main.go index 8a127b811cb8..fd3e3306e8fa 100644 --- a/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListFields/main.go +++ b/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListFields/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListFieldsResponse) } } diff --git a/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListIndexes/main.go b/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListIndexes/main.go index 4065c84f4a39..80c75ade47bd 100644 --- a/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListIndexes/main.go +++ b/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListIndexes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*adminpb.ListIndexesResponse) } } diff --git a/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListOperations/main.go b/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListOperations/main.go index 2446d90f5c1f..73f77f61ac62 100644 --- a/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/firestore/apiv1/admin/FirestoreAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json b/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json index 4c2ba54f720e..02d95e48aba1 100644 --- a/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json +++ b/internal/generated/snippets/firestore/apiv1/admin/snippet_metadata.google.firestore.admin.v1.json @@ -967,7 +967,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1013,7 +1013,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1059,7 +1059,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json b/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json index b301f5f14a56..1249b47ce076 100644 --- a/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json +++ b/internal/generated/snippets/firestore/apiv1/snippet_metadata.google.firestore.v1.json @@ -463,7 +463,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -509,7 +509,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -555,7 +555,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -643,7 +643,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListFunctions/main.go b/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListFunctions/main.go index 0d7ab4784ce8..ac54e0d4161b 100644 --- a/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListFunctions/main.go +++ b/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListFunctions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*functionspb.ListFunctionsResponse) } } diff --git a/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListLocations/main.go b/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListLocations/main.go index cda8cfa5aeb1..8639ee448cdf 100644 --- a/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListLocations/main.go +++ b/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListOperations/main.go b/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListOperations/main.go index eb8da4791024..2ede8aec7fea 100644 --- a/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListOperations/main.go +++ b/internal/generated/snippets/functions/apiv1/CloudFunctionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json b/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json index b70c97d4c1b6..edd7a57a01fc 100644 --- a/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json +++ b/internal/generated/snippets/functions/apiv1/snippet_metadata.google.cloud.functions.v1.json @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/functions/apiv2/FunctionClient/ListFunctions/main.go b/internal/generated/snippets/functions/apiv2/FunctionClient/ListFunctions/main.go index 1e44c2ba8be1..4d4ce62d9b90 100644 --- a/internal/generated/snippets/functions/apiv2/FunctionClient/ListFunctions/main.go +++ b/internal/generated/snippets/functions/apiv2/FunctionClient/ListFunctions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*functionspb.ListFunctionsResponse) } } diff --git a/internal/generated/snippets/functions/apiv2/FunctionClient/ListLocations/main.go b/internal/generated/snippets/functions/apiv2/FunctionClient/ListLocations/main.go index 6b649dbaaa99..4b54c7a8fd20 100644 --- a/internal/generated/snippets/functions/apiv2/FunctionClient/ListLocations/main.go +++ b/internal/generated/snippets/functions/apiv2/FunctionClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/functions/apiv2/FunctionClient/ListOperations/main.go b/internal/generated/snippets/functions/apiv2/FunctionClient/ListOperations/main.go index 27f12caddfff..b1d6fb9b7ebd 100644 --- a/internal/generated/snippets/functions/apiv2/FunctionClient/ListOperations/main.go +++ b/internal/generated/snippets/functions/apiv2/FunctionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json b/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json index 0dc4cdb32c6b..9171a34c1968 100644 --- a/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json +++ b/internal/generated/snippets/functions/apiv2/snippet_metadata.google.cloud.functions.v2.json @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go index f86ed1c0859f..dc4cc01b62af 100644 --- a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListFunctions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*functionspb.ListFunctionsResponse) } } diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go index a81e1ed2b0e9..2d1e58ab8c33 100644 --- a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go index a3472324d8f6..ac7f86db57fc 100644 --- a/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go +++ b/internal/generated/snippets/functions/apiv2beta/FunctionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json index 1360845aa910..ad820bfccd7a 100644 --- a/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json +++ b/internal/generated/snippets/functions/apiv2beta/snippet_metadata.google.cloud.functions.v2beta.json @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackupPlans/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackupPlans/main.go index 234d1e5a685f..60764afa0b5b 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackupPlans/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackupPlans/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListBackupPlansResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackups/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackups/main.go index 24cfaf988c04..b9135b329a1c 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackups/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListLocations/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListLocations/main.go index dd12fb698d3d..1287b5f8bce2 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListLocations/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListOperations/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListOperations/main.go index ca2d54779c1c..c79c0dddf9e0 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListOperations/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestorePlans/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestorePlans/main.go index 4ad0034a5a3e..0c3b834ef751 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestorePlans/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestorePlans/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListRestorePlansResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestores/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestores/main.go index 0ba66e8bb1eb..7611aaa2b6f2 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestores/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListRestores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListRestoresResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeBackups/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeBackups/main.go index ebd7693a3917..c5bfbd540ec1 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeBackups/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListVolumeBackupsResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeRestores/main.go b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeRestores/main.go index 8609b0aa7487..e95e82496205 100644 --- a/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeRestores/main.go +++ b/internal/generated/snippets/gkebackup/apiv1/BackupForGKEClient/ListVolumeRestores/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkebackuppb.ListVolumeRestoresResponse) } } diff --git a/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json b/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json index 0533abdd328c..2dd4cb993b93 100644 --- a/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json +++ b/internal/generated/snippets/gkebackup/apiv1/snippet_metadata.google.cloud.gkebackup.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/gkebackup/apiv1", - "version": "1.3.6", + "version": "1.4.0", "language": "GO", "apis": [ { @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1292,7 +1292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListLocations/main.go b/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListLocations/main.go index f1d6682466c1..3aea83771796 100644 --- a/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListLocations/main.go +++ b/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListMemberships/main.go b/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListMemberships/main.go index c3952e567418..fc22c0ec956d 100644 --- a/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListMemberships/main.go +++ b/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListMemberships/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkehubpb.ListMembershipsResponse) } } diff --git a/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListOperations/main.go b/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListOperations/main.go index bb8f3fadb20c..5bd03b485a39 100644 --- a/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListOperations/main.go +++ b/internal/generated/snippets/gkehub/apiv1beta1/GkeHubMembershipClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json index 80b66df9eb6e..98e18a5bdb64 100644 --- a/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json +++ b/internal/generated/snippets/gkehub/apiv1beta1/snippet_metadata.google.cloud.gkehub.v1beta1.json @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListAttachedClusters/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListAttachedClusters/main.go index 882ebc296ec1..6c7e9c88660b 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListAttachedClusters/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListAttachedClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAttachedClustersResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListOperations/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListOperations/main.go index e0462330856e..8ed3f6338e56 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListOperations/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AttachedClustersClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsClusters/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsClusters/main.go index 8eddf209d513..a679c2d0cd0c 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsClusters/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAwsClustersResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsNodePools/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsNodePools/main.go index c31171c28d68..632964a570d7 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsNodePools/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListAwsNodePools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAwsNodePoolsResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListOperations/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListOperations/main.go index 7b4201e65c65..f400bf90cf68 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListOperations/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AwsClustersClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClients/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClients/main.go index 85b4f9199710..7a7e32255aa9 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClients/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClients/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAzureClientsResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClusters/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClusters/main.go index 93fd215dc4e1..fba0b9e6560b 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClusters/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAzureClustersResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureNodePools/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureNodePools/main.go index 5c75cb84e1c2..80776b50e9ea 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureNodePools/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListAzureNodePools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gkemulticloudpb.ListAzureNodePoolsResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListOperations/main.go b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListOperations/main.go index d827dffd0832..d12d6aafd250 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListOperations/main.go +++ b/internal/generated/snippets/gkemulticloud/apiv1/AzureClustersClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json b/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json index 0d92301a7828..2bf797b188a4 100644 --- a/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json +++ b/internal/generated/snippets/gkemulticloud/apiv1/snippet_metadata.google.cloud.gkemulticloud.v1.json @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1290,7 +1290,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1336,7 +1336,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1382,7 +1382,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2346,7 +2346,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2392,7 +2392,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2438,7 +2438,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2484,7 +2484,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/gsuiteaddons/apiv1/Client/ListDeployments/main.go b/internal/generated/snippets/gsuiteaddons/apiv1/Client/ListDeployments/main.go index b0d97f934974..33b0cd37f385 100644 --- a/internal/generated/snippets/gsuiteaddons/apiv1/Client/ListDeployments/main.go +++ b/internal/generated/snippets/gsuiteaddons/apiv1/Client/ListDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*gsuiteaddonspb.ListDeploymentsResponse) } } diff --git a/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json b/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json index 00a9ebb22be3..80a7169d50d9 100644 --- a/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json +++ b/internal/generated/snippets/gsuiteaddons/apiv1/snippet_metadata.google.cloud.gsuiteaddons.v1.json @@ -326,7 +326,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/iam/apiv2/PoliciesClient/ListPolicies/main.go b/internal/generated/snippets/iam/apiv2/PoliciesClient/ListPolicies/main.go index b14c3bab2c44..fd8e84c0cbd8 100644 --- a/internal/generated/snippets/iam/apiv2/PoliciesClient/ListPolicies/main.go +++ b/internal/generated/snippets/iam/apiv2/PoliciesClient/ListPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iampb.ListPoliciesResponse) } } diff --git a/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json b/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json index f617bf937f82..68f4ad7030f1 100644 --- a/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json +++ b/internal/generated/snippets/iam/apiv2/snippet_metadata.google.iam.v2.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/iap/apiv1/IdentityAwareProxyAdminClient/ListTunnelDestGroups/main.go b/internal/generated/snippets/iap/apiv1/IdentityAwareProxyAdminClient/ListTunnelDestGroups/main.go index 0266128bef65..1fde203bfbb0 100644 --- a/internal/generated/snippets/iap/apiv1/IdentityAwareProxyAdminClient/ListTunnelDestGroups/main.go +++ b/internal/generated/snippets/iap/apiv1/IdentityAwareProxyAdminClient/ListTunnelDestGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iappb.ListTunnelDestGroupsResponse) } } diff --git a/internal/generated/snippets/iap/apiv1/IdentityAwareProxyOAuthClient/ListIdentityAwareProxyClients/main.go b/internal/generated/snippets/iap/apiv1/IdentityAwareProxyOAuthClient/ListIdentityAwareProxyClients/main.go index 35da10140926..e4998593d122 100644 --- a/internal/generated/snippets/iap/apiv1/IdentityAwareProxyOAuthClient/ListIdentityAwareProxyClients/main.go +++ b/internal/generated/snippets/iap/apiv1/IdentityAwareProxyOAuthClient/ListIdentityAwareProxyClients/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iappb.ListIdentityAwareProxyClientsResponse) } } diff --git a/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json b/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json index 6cdf8bb853b1..efab3f9af46b 100644 --- a/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json +++ b/internal/generated/snippets/iap/apiv1/snippet_metadata.google.cloud.iap.v1.json @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/ids/apiv1/Client/ListEndpoints/main.go b/internal/generated/snippets/ids/apiv1/Client/ListEndpoints/main.go index 8e345e134f31..078f2ec60735 100644 --- a/internal/generated/snippets/ids/apiv1/Client/ListEndpoints/main.go +++ b/internal/generated/snippets/ids/apiv1/Client/ListEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*idspb.ListEndpointsResponse) } } diff --git a/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json b/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json index 779ea3579b2f..35cc4fd40110 100644 --- a/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json +++ b/internal/generated/snippets/ids/apiv1/snippet_metadata.google.cloud.ids.v1.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDeviceRegistries/main.go b/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDeviceRegistries/main.go index 72abf5ce80ac..2b93cfcef847 100644 --- a/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDeviceRegistries/main.go +++ b/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDeviceRegistries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iotpb.ListDeviceRegistriesResponse) } } diff --git a/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDevices/main.go b/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDevices/main.go index 4b12e59f1f11..5d6bc77f155a 100644 --- a/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDevices/main.go +++ b/internal/generated/snippets/iot/apiv1/DeviceManagerClient/ListDevices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iotpb.ListDevicesResponse) } } diff --git a/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json b/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json index 0c3aeb44f7ff..85ed768e75c3 100644 --- a/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json +++ b/internal/generated/snippets/iot/apiv1/snippet_metadata.google.cloud.iot.v1.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/kms/apiv1/EkmClient/ListEkmConnections/main.go b/internal/generated/snippets/kms/apiv1/EkmClient/ListEkmConnections/main.go index 169ff25e6359..84606e0411f4 100644 --- a/internal/generated/snippets/kms/apiv1/EkmClient/ListEkmConnections/main.go +++ b/internal/generated/snippets/kms/apiv1/EkmClient/ListEkmConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListEkmConnectionsResponse) } } diff --git a/internal/generated/snippets/kms/apiv1/EkmClient/ListLocations/main.go b/internal/generated/snippets/kms/apiv1/EkmClient/ListLocations/main.go index cf1caac78210..903050b8b88b 100644 --- a/internal/generated/snippets/kms/apiv1/EkmClient/ListLocations/main.go +++ b/internal/generated/snippets/kms/apiv1/EkmClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeyVersions/main.go b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeyVersions/main.go index c9596b1e4b11..db9517fba8bb 100644 --- a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeyVersions/main.go +++ b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeyVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListCryptoKeyVersionsResponse) } } diff --git a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeys/main.go b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeys/main.go index 7e6c5bf0fe48..b1922539fc56 100644 --- a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeys/main.go +++ b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListCryptoKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListCryptoKeysResponse) } } diff --git a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListImportJobs/main.go b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListImportJobs/main.go index 8d4a866385f6..5936cb5f383d 100644 --- a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListImportJobs/main.go +++ b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListImportJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListImportJobsResponse) } } diff --git a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListKeyRings/main.go b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListKeyRings/main.go index 4b01e5e4fb1c..2f0439c75add 100644 --- a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListKeyRings/main.go +++ b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListKeyRings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListKeyRingsResponse) } } diff --git a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListLocations/main.go b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListLocations/main.go index 15137fba9c67..b317996a603f 100644 --- a/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListLocations/main.go +++ b/internal/generated/snippets/kms/apiv1/KeyManagementClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json b/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json index 449c00ffe588..c22663eee32b 100644 --- a/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json +++ b/internal/generated/snippets/kms/apiv1/snippet_metadata.google.cloud.kms.v1.json @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1432,7 +1432,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1478,7 +1478,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1524,7 +1524,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1570,7 +1570,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1616,7 +1616,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/kms/inventory/apiv1/KeyDashboardClient/ListCryptoKeys/main.go b/internal/generated/snippets/kms/inventory/apiv1/KeyDashboardClient/ListCryptoKeys/main.go index 1f9ab0a0027d..7739e4eb4801 100644 --- a/internal/generated/snippets/kms/inventory/apiv1/KeyDashboardClient/ListCryptoKeys/main.go +++ b/internal/generated/snippets/kms/inventory/apiv1/KeyDashboardClient/ListCryptoKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventorypb.ListCryptoKeysResponse) } } diff --git a/internal/generated/snippets/kms/inventory/apiv1/KeyTrackingClient/SearchProtectedResources/main.go b/internal/generated/snippets/kms/inventory/apiv1/KeyTrackingClient/SearchProtectedResources/main.go index 6b4be8790cf1..3f971414542d 100644 --- a/internal/generated/snippets/kms/inventory/apiv1/KeyTrackingClient/SearchProtectedResources/main.go +++ b/internal/generated/snippets/kms/inventory/apiv1/KeyTrackingClient/SearchProtectedResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventorypb.SearchProtectedResourcesResponse) } } diff --git a/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json b/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json index 077c199cce13..559a2cbadf21 100644 --- a/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json +++ b/internal/generated/snippets/kms/inventory/apiv1/snippet_metadata.google.cloud.kms.inventory.v1.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListLocations/main.go b/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListLocations/main.go index a6d1b6c09bbe..c8b356b8f32a 100644 --- a/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListLocations/main.go +++ b/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListOperations/main.go b/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListOperations/main.go index 293fb0b41a76..bab74ac65149 100644 --- a/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListOperations/main.go +++ b/internal/generated/snippets/lifesciences/apiv2beta/WorkflowsServiceV2BetaClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json index cf0834406d1d..1c3f99c150a4 100644 --- a/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json +++ b/internal/generated/snippets/lifesciences/apiv2beta/snippet_metadata.google.cloud.lifesciences.v2beta.json @@ -189,7 +189,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/logging/apiv2/Client/ListLogEntries/main.go b/internal/generated/snippets/logging/apiv2/Client/ListLogEntries/main.go index da2ac0f570f3..1597bf5696c6 100644 --- a/internal/generated/snippets/logging/apiv2/Client/ListLogEntries/main.go +++ b/internal/generated/snippets/logging/apiv2/Client/ListLogEntries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLogEntriesResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/Client/ListLogs/main.go b/internal/generated/snippets/logging/apiv2/Client/ListLogs/main.go index a96799a545b7..bfa52c784601 100644 --- a/internal/generated/snippets/logging/apiv2/Client/ListLogs/main.go +++ b/internal/generated/snippets/logging/apiv2/Client/ListLogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLogsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/Client/ListMonitoredResourceDescriptors/main.go b/internal/generated/snippets/logging/apiv2/Client/ListMonitoredResourceDescriptors/main.go index e3b35b2e79dd..fcb8b11bc5d2 100644 --- a/internal/generated/snippets/logging/apiv2/Client/ListMonitoredResourceDescriptors/main.go +++ b/internal/generated/snippets/logging/apiv2/Client/ListMonitoredResourceDescriptors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListMonitoredResourceDescriptorsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/Client/ListOperations/main.go b/internal/generated/snippets/logging/apiv2/Client/ListOperations/main.go index 9189b6333303..3abb9f3516c2 100644 --- a/internal/generated/snippets/logging/apiv2/Client/ListOperations/main.go +++ b/internal/generated/snippets/logging/apiv2/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/ConfigClient/ListBuckets/main.go b/internal/generated/snippets/logging/apiv2/ConfigClient/ListBuckets/main.go index da7bd18dbaa5..f7b2714b48a7 100644 --- a/internal/generated/snippets/logging/apiv2/ConfigClient/ListBuckets/main.go +++ b/internal/generated/snippets/logging/apiv2/ConfigClient/ListBuckets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListBucketsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/ConfigClient/ListExclusions/main.go b/internal/generated/snippets/logging/apiv2/ConfigClient/ListExclusions/main.go index 1907b617399c..164c63f8454d 100644 --- a/internal/generated/snippets/logging/apiv2/ConfigClient/ListExclusions/main.go +++ b/internal/generated/snippets/logging/apiv2/ConfigClient/ListExclusions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListExclusionsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/ConfigClient/ListLinks/main.go b/internal/generated/snippets/logging/apiv2/ConfigClient/ListLinks/main.go index b89c000c5eee..739e7e8f76c9 100644 --- a/internal/generated/snippets/logging/apiv2/ConfigClient/ListLinks/main.go +++ b/internal/generated/snippets/logging/apiv2/ConfigClient/ListLinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLinksResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/ConfigClient/ListOperations/main.go b/internal/generated/snippets/logging/apiv2/ConfigClient/ListOperations/main.go index e87a421c79f4..8be2dc031ce1 100644 --- a/internal/generated/snippets/logging/apiv2/ConfigClient/ListOperations/main.go +++ b/internal/generated/snippets/logging/apiv2/ConfigClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/ConfigClient/ListSinks/main.go b/internal/generated/snippets/logging/apiv2/ConfigClient/ListSinks/main.go index 95de41ed1fdb..7659f19304ff 100644 --- a/internal/generated/snippets/logging/apiv2/ConfigClient/ListSinks/main.go +++ b/internal/generated/snippets/logging/apiv2/ConfigClient/ListSinks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListSinksResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/ConfigClient/ListViews/main.go b/internal/generated/snippets/logging/apiv2/ConfigClient/ListViews/main.go index c0e9f1850e9f..4469d88e82dd 100644 --- a/internal/generated/snippets/logging/apiv2/ConfigClient/ListViews/main.go +++ b/internal/generated/snippets/logging/apiv2/ConfigClient/ListViews/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListViewsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/MetricsClient/ListLogMetrics/main.go b/internal/generated/snippets/logging/apiv2/MetricsClient/ListLogMetrics/main.go index 3a828a5c9e17..b3b00c12e55c 100644 --- a/internal/generated/snippets/logging/apiv2/MetricsClient/ListLogMetrics/main.go +++ b/internal/generated/snippets/logging/apiv2/MetricsClient/ListLogMetrics/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLogMetricsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/MetricsClient/ListOperations/main.go b/internal/generated/snippets/logging/apiv2/MetricsClient/ListOperations/main.go index 62e48c247919..680d26d25920 100644 --- a/internal/generated/snippets/logging/apiv2/MetricsClient/ListOperations/main.go +++ b/internal/generated/snippets/logging/apiv2/MetricsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json b/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json index a724eb67626a..f48c687f4e86 100644 --- a/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json +++ b/internal/generated/snippets/logging/apiv2/snippet_metadata.google.logging.v2.json @@ -1013,7 +1013,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1059,7 +1059,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1105,7 +1105,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1151,7 +1151,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1197,7 +1197,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1243,7 +1243,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1792,7 +1792,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1838,7 +1838,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1884,7 +1884,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1930,7 +1930,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2292,7 +2292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2338,7 +2338,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/longrunning/autogen/OperationsClient/ListOperations/main.go b/internal/generated/snippets/longrunning/autogen/OperationsClient/ListOperations/main.go index 9d1c9293a2d3..597c38e9a978 100644 --- a/internal/generated/snippets/longrunning/autogen/OperationsClient/ListOperations/main.go +++ b/internal/generated/snippets/longrunning/autogen/OperationsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json index d61a7087a120..41693d411af4 100644 --- a/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json +++ b/internal/generated/snippets/longrunning/autogen/snippet_metadata.google.longrunning.json @@ -188,7 +188,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/managedidentities/apiv1/Client/ListDomains/main.go b/internal/generated/snippets/managedidentities/apiv1/Client/ListDomains/main.go index d5c6f97dff39..9f430238e101 100644 --- a/internal/generated/snippets/managedidentities/apiv1/Client/ListDomains/main.go +++ b/internal/generated/snippets/managedidentities/apiv1/Client/ListDomains/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*managedidentitiespb.ListDomainsResponse) } } diff --git a/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json b/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json index f3a1465e281d..65cd9362db44 100644 --- a/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json +++ b/internal/generated/snippets/managedidentities/apiv1/snippet_metadata.google.cloud.managedidentities.v1.json @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/maps/fleetengine/apiv1/TripClient/SearchTrips/main.go b/internal/generated/snippets/maps/fleetengine/apiv1/TripClient/SearchTrips/main.go index d2b5f20e1a9e..7b83dbe83a90 100644 --- a/internal/generated/snippets/maps/fleetengine/apiv1/TripClient/SearchTrips/main.go +++ b/internal/generated/snippets/maps/fleetengine/apiv1/TripClient/SearchTrips/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*fleetenginepb.SearchTripsResponse) } } diff --git a/internal/generated/snippets/maps/fleetengine/apiv1/VehicleClient/ListVehicles/main.go b/internal/generated/snippets/maps/fleetengine/apiv1/VehicleClient/ListVehicles/main.go index 2f7be0004d9c..278aae38de66 100644 --- a/internal/generated/snippets/maps/fleetengine/apiv1/VehicleClient/ListVehicles/main.go +++ b/internal/generated/snippets/maps/fleetengine/apiv1/VehicleClient/ListVehicles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*fleetenginepb.ListVehiclesResponse) } } diff --git a/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json b/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json index 0de8dc47bfba..06e58f96c67d 100644 --- a/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json +++ b/internal/generated/snippets/maps/fleetengine/apiv1/snippet_metadata.maps.fleetengine.v1.json @@ -189,7 +189,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListDeliveryVehicles/main.go b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListDeliveryVehicles/main.go index fdf6fbff672a..9778c56841bc 100644 --- a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListDeliveryVehicles/main.go +++ b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListDeliveryVehicles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deliverypb.ListDeliveryVehiclesResponse) } } diff --git a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListTasks/main.go b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListTasks/main.go index b7b7c1516cd3..b0c651adefb1 100644 --- a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListTasks/main.go +++ b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/ListTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deliverypb.ListTasksResponse) } } diff --git a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/SearchTasks/main.go b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/SearchTasks/main.go index 4a1402882436..59df345cfb30 100644 --- a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/SearchTasks/main.go +++ b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/Client/SearchTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deliverypb.SearchTasksResponse) } } diff --git a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json index 6132e3d5edfe..c5372995f0de 100644 --- a/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json +++ b/internal/generated/snippets/maps/fleetengine/delivery/apiv1/snippet_metadata.maps.fleetengine.delivery.v1.json @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasetVersions/main.go b/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasetVersions/main.go index a64abca76ece..a10850d40875 100644 --- a/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasetVersions/main.go +++ b/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasetVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*mapsplatformdatasetspb.ListDatasetVersionsResponse) } } diff --git a/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasets/main.go b/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasets/main.go index 97ffad46970b..0f9b7e86fd8d 100644 --- a/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasets/main.go +++ b/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/MapsPlatformDatasetsV1AlphaClient/ListDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*mapsplatformdatasetspb.ListDatasetsResponse) } } diff --git a/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/snippet_metadata.google.maps.mapsplatformdatasets.v1alpha.json b/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/snippet_metadata.google.maps.mapsplatformdatasets.v1alpha.json index 0fb13bb00112..b7c2ed4be729 100644 --- a/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/snippet_metadata.google.maps.mapsplatformdatasets.v1alpha.json +++ b/internal/generated/snippets/maps/mapsplatformdatasets/apiv1alpha/snippet_metadata.google.maps.mapsplatformdatasets.v1alpha.json @@ -234,7 +234,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -280,7 +280,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListInstances/main.go b/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListInstances/main.go index 8d480b1b2a04..949cd43053c8 100644 --- a/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListInstances/main.go +++ b/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*memcachepb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListLocations/main.go b/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListLocations/main.go index f1e08c776c37..d517ec2f2d76 100644 --- a/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListLocations/main.go +++ b/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListOperations/main.go b/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListOperations/main.go index 53205fb1c13e..5c72c9c03425 100644 --- a/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListOperations/main.go +++ b/internal/generated/snippets/memcache/apiv1/CloudMemcacheClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json b/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json index c7b5648dc966..02b58fd63cac 100644 --- a/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json +++ b/internal/generated/snippets/memcache/apiv1/snippet_metadata.google.cloud.memcache.v1.json @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListInstances/main.go b/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListInstances/main.go index 5584bedf9d2f..3f27ee7dc405 100644 --- a/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListInstances/main.go +++ b/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*memcachepb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListLocations/main.go b/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListLocations/main.go index 4f1868070b16..017070dafd5e 100644 --- a/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListLocations/main.go +++ b/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListOperations/main.go b/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListOperations/main.go index 82296594fa2c..6a6a8dbb2e2f 100644 --- a/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListOperations/main.go +++ b/internal/generated/snippets/memcache/apiv1beta2/CloudMemcacheClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json b/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json index 93d3d31dbec7..daa685d7340e 100644 --- a/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json +++ b/internal/generated/snippets/memcache/apiv1beta2/snippet_metadata.google.cloud.memcache.v1beta2.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListBackups/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListBackups/main.go index 1cc434d0f9cb..05e85e7caf58 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListBackups/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListLocations/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListLocations/main.go index 4e65b54bbfe3..d4ccdcf65383 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListLocations/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListMetadataImports/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListMetadataImports/main.go index 4977bc0fca5d..e87de22c6144 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListMetadataImports/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListMetadataImports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListMetadataImportsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListOperations/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListOperations/main.go index b9c854099cb8..b51b6e9eb311 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListOperations/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListServices/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListServices/main.go index c85999c08cd0..cc00e10b3189 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListServices/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListServicesResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListFederations/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListFederations/main.go index f46bbd0d72ed..e3169a694404 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListFederations/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListFederations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListFederationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListLocations/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListLocations/main.go index 19a190d2ca72..a5b5d4c6fd06 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListLocations/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListOperations/main.go b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListOperations/main.go index 5f605f11f333..a614e4ea535a 100644 --- a/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListOperations/main.go +++ b/internal/generated/snippets/metastore/apiv1/DataprocMetastoreFederationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json b/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json index df0c0400c642..5c9c0c244e25 100644 --- a/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json +++ b/internal/generated/snippets/metastore/apiv1/snippet_metadata.google.cloud.metastore.v1.json @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1658,7 +1658,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1704,7 +1704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListBackups/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListBackups/main.go index 49f804006d95..573d595ca120 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListBackups/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListLocations/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListLocations/main.go index e1ad061612e9..365f0d23d9e5 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListLocations/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListMetadataImports/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListMetadataImports/main.go index 031f49492ab1..fd780154930c 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListMetadataImports/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListMetadataImports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListMetadataImportsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListOperations/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListOperations/main.go index b0f6a5fe8567..47cf48b57765 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListOperations/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListServices/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListServices/main.go index b57cd9eb4e0d..59a1ac660592 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListServices/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListServicesResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListFederations/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListFederations/main.go index 8bd08c9bc7f8..d6ce55fb75ce 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListFederations/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListFederations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListFederationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListLocations/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListLocations/main.go index be4009d66328..88a3537aeb46 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListLocations/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListOperations/main.go b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListOperations/main.go index 7b20a555a7e9..7d48e112605d 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListOperations/main.go +++ b/internal/generated/snippets/metastore/apiv1alpha/DataprocMetastoreFederationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json b/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json index e4e70578c137..e15cdf2a5b29 100644 --- a/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json +++ b/internal/generated/snippets/metastore/apiv1alpha/snippet_metadata.google.cloud.metastore.v1alpha.json @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1704,7 +1704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListBackups/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListBackups/main.go index 9efabe863e61..6c1a1df58669 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListBackups/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListLocations/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListLocations/main.go index 6119703bc258..8150b7fb1c7a 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListLocations/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListMetadataImports/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListMetadataImports/main.go index d50915b9e20c..aab797a69b98 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListMetadataImports/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListMetadataImports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListMetadataImportsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListOperations/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListOperations/main.go index a02a164b07eb..f5d080a0dbd7 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListOperations/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListServices/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListServices/main.go index 85bba38d8755..a14211528259 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListServices/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListServicesResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListFederations/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListFederations/main.go index d2f65f053e13..cff1abe1a00b 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListFederations/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListFederations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListFederationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListLocations/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListLocations/main.go index 60c5329b6a1b..9093a723ab77 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListLocations/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListOperations/main.go b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListOperations/main.go index f5a001e5456f..c22caf854f50 100644 --- a/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListOperations/main.go +++ b/internal/generated/snippets/metastore/apiv1beta/DataprocMetastoreFederationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json b/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json index a749980a817d..b58709d2a10d 100644 --- a/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json +++ b/internal/generated/snippets/metastore/apiv1beta/snippet_metadata.google.cloud.metastore.v1beta.json @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1704,7 +1704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListAssets/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListAssets/main.go index 67407306b818..16b531e89717 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListAssets/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListErrorFrames/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListErrorFrames/main.go index 283ca6e1c088..a409a5879c6d 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListErrorFrames/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListErrorFrames/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListErrorFramesResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListGroups/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListGroups/main.go index 76b13aefcc3a..6e9cb5833d6a 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListGroups/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListGroupsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportDataFiles/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportDataFiles/main.go index 22be33daaa2c..86d13c99a287 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportDataFiles/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportDataFiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListImportDataFilesResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportJobs/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportJobs/main.go index 47870ce9de84..f46d9cbdcf6c 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportJobs/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListImportJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListImportJobsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListLocations/main.go index 7105f3ba491c..f840694d717d 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListOperations/main.go index 057e41aa948f..db332d66052b 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListPreferenceSets/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListPreferenceSets/main.go index 590338c52f2b..15e2bfbdac1f 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListPreferenceSets/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListPreferenceSets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListPreferenceSetsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListReportConfigs/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListReportConfigs/main.go index bda1423bca98..17c3ce305a74 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListReportConfigs/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListReportConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListReportConfigsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListReports/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListReports/main.go index 52f9c5fee297..a0bb24f7a6fd 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListReports/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListReports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListReportsResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/Client/ListSources/main.go b/internal/generated/snippets/migrationcenter/apiv1/Client/ListSources/main.go index 5f65b0850103..809e0a1a6618 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/Client/ListSources/main.go +++ b/internal/generated/snippets/migrationcenter/apiv1/Client/ListSources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListSourcesResponse) } } diff --git a/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json b/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json index 69a2bdc95d74..c9002a206479 100644 --- a/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json +++ b/internal/generated/snippets/migrationcenter/apiv1/snippet_metadata.google.cloud.migrationcenter.v1.json @@ -1566,7 +1566,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1612,7 +1612,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1658,7 +1658,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1704,7 +1704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1842,7 +1842,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1888,7 +1888,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1934,7 +1934,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1980,7 +1980,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2026,7 +2026,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/monitoring/apiv3/v2/AlertPolicyClient/ListAlertPolicies/main.go b/internal/generated/snippets/monitoring/apiv3/v2/AlertPolicyClient/ListAlertPolicies/main.go index 41104bf12eff..f93908ce404a 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/AlertPolicyClient/ListAlertPolicies/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/AlertPolicyClient/ListAlertPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListAlertPoliciesResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroupMembers/main.go b/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroupMembers/main.go index 46a3a65d269c..ef7dfa532061 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroupMembers/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroupMembers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListGroupMembersResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroups/main.go b/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroups/main.go index 6768c0766088..74c9a682b270 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroups/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/GroupClient/ListGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListGroupsResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMetricDescriptors/main.go b/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMetricDescriptors/main.go index 7343fb69b19f..1f9232ce69f6 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMetricDescriptors/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMetricDescriptors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListMetricDescriptorsResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMonitoredResourceDescriptors/main.go b/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMonitoredResourceDescriptors/main.go index 4510be278254..c58836f78ce1 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMonitoredResourceDescriptors/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListMonitoredResourceDescriptors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListMonitoredResourceDescriptorsResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListTimeSeries/main.go b/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListTimeSeries/main.go index 5b8e9fd178fe..2904d3a88664 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListTimeSeries/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/MetricClient/ListTimeSeries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListTimeSeriesResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannelDescriptors/main.go b/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannelDescriptors/main.go index 8a770283337f..f269d83cf91e 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannelDescriptors/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannelDescriptors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListNotificationChannelDescriptorsResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannels/main.go b/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannels/main.go index 3afdaa48daaa..62054caa551b 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannels/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/NotificationChannelClient/ListNotificationChannels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListNotificationChannelsResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/QueryClient/QueryTimeSeries/main.go b/internal/generated/snippets/monitoring/apiv3/v2/QueryClient/QueryTimeSeries/main.go index c702104cc44a..ae95c8cbbad6 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/QueryClient/QueryTimeSeries/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/QueryClient/QueryTimeSeries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.QueryTimeSeriesResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServiceLevelObjectives/main.go b/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServiceLevelObjectives/main.go index 56ed4235c38e..ad08633152a6 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServiceLevelObjectives/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServiceLevelObjectives/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListServiceLevelObjectivesResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServices/main.go b/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServices/main.go index 0c6cff2999ff..956a778d1e26 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServices/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/ServiceMonitoringClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListServicesResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/SnoozeClient/ListSnoozes/main.go b/internal/generated/snippets/monitoring/apiv3/v2/SnoozeClient/ListSnoozes/main.go index 51691bc22841..5ed055fa35aa 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/SnoozeClient/ListSnoozes/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/SnoozeClient/ListSnoozes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListSnoozesResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckConfigs/main.go b/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckConfigs/main.go index afbe3a2d0ada..d780ab6aefa7 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckConfigs/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListUptimeCheckConfigsResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckIps/main.go b/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckIps/main.go index 2ecae460a89d..1c712639bf67 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckIps/main.go +++ b/internal/generated/snippets/monitoring/apiv3/v2/UptimeCheckClient/ListUptimeCheckIps/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListUptimeCheckIpsResponse) } } diff --git a/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json b/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json index 146f66fb0439..35383b9fcba4 100644 --- a/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json +++ b/internal/generated/snippets/monitoring/apiv3/v2/snippet_metadata.google.monitoring.v3.json @@ -189,7 +189,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -829,7 +829,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -875,7 +875,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -921,7 +921,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1196,7 +1196,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1242,7 +1242,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1425,7 +1425,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1745,7 +1745,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1791,7 +1791,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2021,7 +2021,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2250,7 +2250,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2296,7 +2296,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/monitoring/dashboard/apiv1/DashboardsClient/ListDashboards/main.go b/internal/generated/snippets/monitoring/dashboard/apiv1/DashboardsClient/ListDashboards/main.go index bc8d2a1e60ca..3854625f086a 100644 --- a/internal/generated/snippets/monitoring/dashboard/apiv1/DashboardsClient/ListDashboards/main.go +++ b/internal/generated/snippets/monitoring/dashboard/apiv1/DashboardsClient/ListDashboards/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dashboardpb.ListDashboardsResponse) } } diff --git a/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json b/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json index fe3f893b4e11..ba323b4e5ec3 100644 --- a/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json +++ b/internal/generated/snippets/monitoring/dashboard/apiv1/snippet_metadata.google.monitoring.dashboard.v1.json @@ -189,7 +189,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListActiveDirectories/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListActiveDirectories/main.go index 3fc030223154..d9d09ebe2569 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListActiveDirectories/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListActiveDirectories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListActiveDirectoriesResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListBackupPolicies/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListBackupPolicies/main.go index bc113284719e..d2cd04c786dc 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListBackupPolicies/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListBackupPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListBackupPoliciesResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListBackupVaults/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListBackupVaults/main.go index 1e0f5e44ae9a..7e2a654234a1 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListBackupVaults/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListBackupVaults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListBackupVaultsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListBackups/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListBackups/main.go index 7d226dedaa39..121c13f575a5 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListBackups/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListKmsConfigs/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListKmsConfigs/main.go index ed71964846ba..acfe13698215 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListKmsConfigs/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListKmsConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListKmsConfigsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListLocations/main.go index a17d4a27758c..32fc0b0795dc 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListOperations/main.go index 3606e2dd1176..976546ee196b 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListReplications/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListReplications/main.go index 1c5b02638d83..95f69350e2ec 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListReplications/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListReplications/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListReplicationsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListSnapshots/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListSnapshots/main.go index 7f06426f713f..c311e05f1b73 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListSnapshots/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListSnapshots/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListSnapshotsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListStoragePools/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListStoragePools/main.go index 6c4a047e4aed..daae01454888 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListStoragePools/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListStoragePools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListStoragePoolsResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/Client/ListVolumes/main.go b/internal/generated/snippets/netapp/apiv1/Client/ListVolumes/main.go index 702d1ca3c2f3..b90d57e6896f 100644 --- a/internal/generated/snippets/netapp/apiv1/Client/ListVolumes/main.go +++ b/internal/generated/snippets/netapp/apiv1/Client/ListVolumes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListVolumesResponse) } } diff --git a/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json b/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json index ac9b04e27242..2af956860c01 100644 --- a/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json +++ b/internal/generated/snippets/netapp/apiv1/snippet_metadata.google.cloud.netapp.v1.json @@ -1522,7 +1522,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1568,7 +1568,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1614,7 +1614,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1660,7 +1660,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1706,7 +1706,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1752,7 +1752,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1798,7 +1798,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1844,7 +1844,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1890,7 +1890,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1936,7 +1936,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1982,7 +1982,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListGroups/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListGroups/main.go index 976f81f5da6e..c4f2c3a7c206 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListGroups/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListGroupsResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubSpokes/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubSpokes/main.go index 96f3839d5251..749a10e2d7ad 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubSpokes/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubSpokes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListHubSpokesResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubs/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubs/main.go index 1ad057493d1b..cd51375ca8a6 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubs/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListHubs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListHubsResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListLocations/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListLocations/main.go index 82065ec56961..f4a30926b049 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListLocations/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListOperations/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListOperations/main.go index af097782f78a..6c0b0f4ebb1e 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListOperations/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRouteTables/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRouteTables/main.go index 0fe91f44ff3f..029314983ca0 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRouteTables/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRouteTables/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListRouteTablesResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRoutes/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRoutes/main.go index 561154362f39..f196d2c37279 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRoutes/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListRoutes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListRoutesResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListSpokes/main.go b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListSpokes/main.go index 4e03a210afe7..e0d7071c2b5e 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListSpokes/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/HubClient/ListSpokes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListSpokesResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListLocations/main.go b/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListLocations/main.go index 8e809e840d79..0c9c364c2153 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListLocations/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListOperations/main.go b/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListOperations/main.go index 83fa97a711c0..34a2c14239a3 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListOperations/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go b/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go index b7d8c105ad83..21e1f357c54b 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1/PolicyBasedRoutingClient/ListPolicyBasedRoutes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListPolicyBasedRoutesResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json index 52efc5a0d840..e5eb90f39142 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json +++ b/internal/generated/snippets/networkconnectivity/apiv1/snippet_metadata.google.cloud.networkconnectivity.v1.json @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1704,7 +1704,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListHubs/main.go b/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListHubs/main.go index c790c3e4fd66..5b628af64898 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListHubs/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListHubs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListHubsResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListSpokes/main.go b/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListSpokes/main.go index 5211800c128e..6320e0b6559f 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListSpokes/main.go +++ b/internal/generated/snippets/networkconnectivity/apiv1alpha1/HubClient/ListSpokes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListSpokesResponse) } } diff --git a/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json b/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json index e31e576ebd9e..a40e73a5a09d 100644 --- a/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json +++ b/internal/generated/snippets/networkconnectivity/apiv1alpha1/snippet_metadata.google.cloud.networkconnectivity.v1alpha1.json @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListConnectivityTests/main.go b/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListConnectivityTests/main.go index e4c152fa62d2..d039407f8920 100644 --- a/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListConnectivityTests/main.go +++ b/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListConnectivityTests/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkmanagementpb.ListConnectivityTestsResponse) } } diff --git a/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListLocations/main.go b/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListLocations/main.go index f1bd52a7ccb9..e335218d582c 100644 --- a/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListLocations/main.go +++ b/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListOperations/main.go b/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListOperations/main.go index 6d18665f8bab..c4eb26baa2ef 100644 --- a/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListOperations/main.go +++ b/internal/generated/snippets/networkmanagement/apiv1/ReachabilityClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json b/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json index 16f862c2f626..8b73bd9cfabe 100644 --- a/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json +++ b/internal/generated/snippets/networkmanagement/apiv1/snippet_metadata.google.cloud.networkmanagement.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/networkmanagement/apiv1", - "version": "1.12.0", + "version": "1.13.0", "language": "GO", "apis": [ { @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListAuthorizationPolicies/main.go b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListAuthorizationPolicies/main.go index abf909e38af4..6343d301b6e0 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListAuthorizationPolicies/main.go +++ b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListAuthorizationPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networksecuritypb.ListAuthorizationPoliciesResponse) } } diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListClientTlsPolicies/main.go b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListClientTlsPolicies/main.go index 994ad21b958f..7f25044ee0b3 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListClientTlsPolicies/main.go +++ b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListClientTlsPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networksecuritypb.ListClientTlsPoliciesResponse) } } diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListLocations/main.go b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListLocations/main.go index c4ae8c6f7afb..47f70cc9dc9c 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListLocations/main.go +++ b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListOperations/main.go b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListOperations/main.go index 4e72c4e1c185..beee8adfbdfe 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListOperations/main.go +++ b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListServerTlsPolicies/main.go b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListServerTlsPolicies/main.go index 7baf6e3a7ec2..a2c8a6af69d9 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListServerTlsPolicies/main.go +++ b/internal/generated/snippets/networksecurity/apiv1beta1/Client/ListServerTlsPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networksecuritypb.ListServerTlsPoliciesResponse) } } diff --git a/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json b/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json index d0e03e9f082a..4d7c08323d8d 100644 --- a/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json +++ b/internal/generated/snippets/networksecurity/apiv1beta1/snippet_metadata.google.cloud.networksecurity.v1beta1.json @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListLocations/main.go b/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListLocations/main.go index b5d48ec6eefa..dc497934c543 100644 --- a/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListLocations/main.go +++ b/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListOperations/main.go b/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListOperations/main.go index bcd984dc2771..3c85ba2cb198 100644 --- a/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListOperations/main.go +++ b/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListRuntimes/main.go b/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListRuntimes/main.go index 5e71e94e86a8..411cdf02eed6 100644 --- a/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListRuntimes/main.go +++ b/internal/generated/snippets/notebooks/apiv1/ManagedNotebookClient/ListRuntimes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListRuntimesResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListEnvironments/main.go b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListEnvironments/main.go index 749ba1902932..bc25508338fe 100644 --- a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListEnvironments/main.go +++ b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListExecutions/main.go b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListExecutions/main.go index b433a35763c8..a3cde7131c8d 100644 --- a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListExecutions/main.go +++ b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListExecutions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListExecutionsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListInstances/main.go b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListInstances/main.go index 8fd66aaeb3fd..169268406773 100644 --- a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListInstances/main.go +++ b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListLocations/main.go b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListLocations/main.go index 30b5119df6ca..7140de69836a 100644 --- a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListLocations/main.go +++ b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListOperations/main.go b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListOperations/main.go index 8a6ea269ebf4..0798aa82f582 100644 --- a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListOperations/main.go +++ b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListSchedules/main.go b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListSchedules/main.go index 54bfc389a269..d30dd01f00b2 100644 --- a/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListSchedules/main.go +++ b/internal/generated/snippets/notebooks/apiv1/NotebookClient/ListSchedules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListSchedulesResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json b/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json index c0d688435cad..6b8f68cbac7a 100644 --- a/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json +++ b/internal/generated/snippets/notebooks/apiv1/snippet_metadata.google.cloud.notebooks.v1.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1980,7 +1980,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2026,7 +2026,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2072,7 +2072,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2118,7 +2118,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2164,7 +2164,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2210,7 +2210,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListEnvironments/main.go b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListEnvironments/main.go index d078a835dab6..0ff77df2fc2d 100644 --- a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListEnvironments/main.go +++ b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListInstances/main.go b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListInstances/main.go index ea4244c69edc..4fefacecf12f 100644 --- a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListInstances/main.go +++ b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListLocations/main.go b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListLocations/main.go index e0d1ec4e3f3b..919931dd19e8 100644 --- a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListLocations/main.go +++ b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListOperations/main.go b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListOperations/main.go index 6bcb89319ee8..f67488a50f73 100644 --- a/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListOperations/main.go +++ b/internal/generated/snippets/notebooks/apiv1beta1/NotebookClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json b/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json index fdd24814a7f3..85a3a0e85349 100644 --- a/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json +++ b/internal/generated/snippets/notebooks/apiv1beta1/snippet_metadata.google.cloud.notebooks.v1beta1.json @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListInstances/main.go b/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListInstances/main.go index 146e3df337f1..62c59efd8436 100644 --- a/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListInstances/main.go +++ b/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListLocations/main.go b/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListLocations/main.go index dc6245823428..48d245514a87 100644 --- a/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListLocations/main.go +++ b/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListOperations/main.go b/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListOperations/main.go index 57be2cb55d06..28cc4f3327b1 100644 --- a/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListOperations/main.go +++ b/internal/generated/snippets/notebooks/apiv2/NotebookClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json b/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json index 31e81e47ce4e..21a9a8e3fa30 100644 --- a/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json +++ b/internal/generated/snippets/notebooks/apiv2/snippet_metadata.google.cloud.notebooks.v2.json @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListEnvironments/main.go b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListEnvironments/main.go index 221af409705d..fb5c5897e980 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListEnvironments/main.go +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListEnvironments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListEnvironmentsResponse) } } diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListOperations/main.go b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListOperations/main.go index 0a555a6add26..a816feccdcd1 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListOperations/main.go +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsConfigMaps/main.go b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsConfigMaps/main.go index e63496866fa7..5273005ce9bd 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsConfigMaps/main.go +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsConfigMaps/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListUserWorkloadsConfigMapsResponse) } } diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsSecrets/main.go b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsSecrets/main.go index 59650a61ea02..dd3008bd499c 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsSecrets/main.go +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListUserWorkloadsSecrets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListUserWorkloadsSecretsResponse) } } diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListWorkloads/main.go b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListWorkloads/main.go index 90acf933b787..2d8cc01f8cc3 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListWorkloads/main.go +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/EnvironmentsClient/ListWorkloads/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListWorkloadsResponse) } } diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListImageVersions/main.go b/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListImageVersions/main.go index ead9b51e3b4e..71a64a548454 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListImageVersions/main.go +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListImageVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListImageVersionsResponse) } } diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListOperations/main.go b/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListOperations/main.go index face1b4e28a3..492c5f1c5a32 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListOperations/main.go +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/ImageVersionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json b/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json index 91f9b0d049e3..6a0ade064894 100644 --- a/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json +++ b/internal/generated/snippets/orchestration/airflow/service/apiv1/snippet_metadata.google.cloud.orchestration.airflow.service.v1.json @@ -693,7 +693,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -739,7 +739,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -785,7 +785,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -831,7 +831,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -877,7 +877,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1336,7 +1336,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1382,7 +1382,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/orgpolicy/apiv2/Client/ListConstraints/main.go b/internal/generated/snippets/orgpolicy/apiv2/Client/ListConstraints/main.go index 1a776a58ea94..32f5fef8af2d 100644 --- a/internal/generated/snippets/orgpolicy/apiv2/Client/ListConstraints/main.go +++ b/internal/generated/snippets/orgpolicy/apiv2/Client/ListConstraints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*orgpolicypb.ListConstraintsResponse) } } diff --git a/internal/generated/snippets/orgpolicy/apiv2/Client/ListCustomConstraints/main.go b/internal/generated/snippets/orgpolicy/apiv2/Client/ListCustomConstraints/main.go index 4a37b2917b9a..a26f7ade1eea 100644 --- a/internal/generated/snippets/orgpolicy/apiv2/Client/ListCustomConstraints/main.go +++ b/internal/generated/snippets/orgpolicy/apiv2/Client/ListCustomConstraints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*orgpolicypb.ListCustomConstraintsResponse) } } diff --git a/internal/generated/snippets/orgpolicy/apiv2/Client/ListPolicies/main.go b/internal/generated/snippets/orgpolicy/apiv2/Client/ListPolicies/main.go index 04f4c42cb5e5..63da7a51ec8a 100644 --- a/internal/generated/snippets/orgpolicy/apiv2/Client/ListPolicies/main.go +++ b/internal/generated/snippets/orgpolicy/apiv2/Client/ListPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*orgpolicypb.ListPoliciesResponse) } } diff --git a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json index 7ccdc096f22e..d8a745cab4b8 100644 --- a/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json +++ b/internal/generated/snippets/orgpolicy/apiv2/snippet_metadata.google.cloud.orgpolicy.v2.json @@ -372,7 +372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/osconfig/apiv1/Client/ListPatchDeployments/main.go b/internal/generated/snippets/osconfig/apiv1/Client/ListPatchDeployments/main.go index 8ca86cb71f44..a4804445f34f 100644 --- a/internal/generated/snippets/osconfig/apiv1/Client/ListPatchDeployments/main.go +++ b/internal/generated/snippets/osconfig/apiv1/Client/ListPatchDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchDeploymentsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobInstanceDetails/main.go b/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobInstanceDetails/main.go index 9643fdb5f117..62753a86dc68 100644 --- a/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobInstanceDetails/main.go +++ b/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobInstanceDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobInstanceDetailsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobs/main.go b/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobs/main.go index 130e40cd6393..410867fa783e 100644 --- a/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobs/main.go +++ b/internal/generated/snippets/osconfig/apiv1/Client/ListPatchJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListInventories/main.go b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListInventories/main.go index cd4decaa9486..38c1d31ea901 100644 --- a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListInventories/main.go +++ b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListInventories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListInventoriesResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go index 683ee42b6f63..4b2c77431358 100644 --- a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go +++ b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentReportsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go index 1fa0fa57b252..ea7b8db4bbdb 100644 --- a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go +++ b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentRevisionsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignments/main.go b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignments/main.go index 6f3343f0c098..e4de9b84b842 100644 --- a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignments/main.go +++ b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListOSPolicyAssignments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListVulnerabilityReports/main.go b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListVulnerabilityReports/main.go index 6f0ae5dd5093..2898dbe6f747 100644 --- a/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListVulnerabilityReports/main.go +++ b/internal/generated/snippets/osconfig/apiv1/OsConfigZonalClient/ListVulnerabilityReports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListVulnerabilityReportsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json b/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json index 4533e9868453..e86be0f6c09e 100644 --- a/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json +++ b/internal/generated/snippets/osconfig/apiv1/snippet_metadata.google.cloud.osconfig.v1.json @@ -327,7 +327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -419,7 +419,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -879,7 +879,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -925,7 +925,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -971,7 +971,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1017,7 +1017,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1063,7 +1063,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInstanceOSPoliciesCompliances/main.go b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInstanceOSPoliciesCompliances/main.go index c0419343f339..27cec58aa1ad 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInstanceOSPoliciesCompliances/main.go +++ b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInstanceOSPoliciesCompliances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListInstanceOSPoliciesCompliancesResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInventories/main.go b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInventories/main.go index 432e0703441c..206776b114b7 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInventories/main.go +++ b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListInventories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListInventoriesResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go index 3d158b916caf..824d4c8b4310 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go +++ b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentReports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentReportsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go index 82b7097756f4..faed0917a3ff 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go +++ b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignmentRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentRevisionsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignments/main.go b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignments/main.go index 563245f8c2a0..852ca06ede62 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignments/main.go +++ b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListOSPolicyAssignments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListVulnerabilityReports/main.go b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListVulnerabilityReports/main.go index 9c78dc5f3b7c..fc53a387541f 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListVulnerabilityReports/main.go +++ b/internal/generated/snippets/osconfig/apiv1alpha/OsConfigZonalClient/ListVulnerabilityReports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListVulnerabilityReportsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json b/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json index 5351ad8978eb..8a5bc8da75a8 100644 --- a/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json +++ b/internal/generated/snippets/osconfig/apiv1alpha/snippet_metadata.google.cloud.osconfig.v1alpha.json @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -604,7 +604,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/osconfig/apiv1beta/Client/ListGuestPolicies/main.go b/internal/generated/snippets/osconfig/apiv1beta/Client/ListGuestPolicies/main.go index a53ab4b498b1..9f942bc59403 100644 --- a/internal/generated/snippets/osconfig/apiv1beta/Client/ListGuestPolicies/main.go +++ b/internal/generated/snippets/osconfig/apiv1beta/Client/ListGuestPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListGuestPoliciesResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchDeployments/main.go b/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchDeployments/main.go index 60bfee84f64b..e9654c09bd3d 100644 --- a/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchDeployments/main.go +++ b/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchDeploymentsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobInstanceDetails/main.go b/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobInstanceDetails/main.go index acb569acc09a..d2d8d062ab83 100644 --- a/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobInstanceDetails/main.go +++ b/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobInstanceDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobInstanceDetailsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobs/main.go b/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobs/main.go index 6a3b460f8cab..73ae443867dd 100644 --- a/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobs/main.go +++ b/internal/generated/snippets/osconfig/apiv1beta/Client/ListPatchJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobsResponse) } } diff --git a/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json b/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json index aa17f6752fb5..52bfc8151831 100644 --- a/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json +++ b/internal/generated/snippets/osconfig/apiv1beta/snippet_metadata.google.cloud.osconfig.v1beta.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/parallelstore/apiv1beta/Client/ListInstances/main.go b/internal/generated/snippets/parallelstore/apiv1beta/Client/ListInstances/main.go index c5d71fdf1064..e6f012c42bd1 100644 --- a/internal/generated/snippets/parallelstore/apiv1beta/Client/ListInstances/main.go +++ b/internal/generated/snippets/parallelstore/apiv1beta/Client/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*parallelstorepb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/parallelstore/apiv1beta/Client/ListLocations/main.go b/internal/generated/snippets/parallelstore/apiv1beta/Client/ListLocations/main.go index bd5c6159e21e..a82d3e0dce58 100644 --- a/internal/generated/snippets/parallelstore/apiv1beta/Client/ListLocations/main.go +++ b/internal/generated/snippets/parallelstore/apiv1beta/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/parallelstore/apiv1beta/Client/ListOperations/main.go b/internal/generated/snippets/parallelstore/apiv1beta/Client/ListOperations/main.go index 6d4c9fbb2890..28c50d27a02b 100644 --- a/internal/generated/snippets/parallelstore/apiv1beta/Client/ListOperations/main.go +++ b/internal/generated/snippets/parallelstore/apiv1beta/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json b/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json index 3dadc2315098..8ede7e00754a 100644 --- a/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json +++ b/internal/generated/snippets/parallelstore/apiv1beta/snippet_metadata.google.cloud.parallelstore.v1beta.json @@ -372,7 +372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListOperations/main.go b/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListOperations/main.go index baa39384eb9e..3035f38b3a7a 100644 --- a/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListOperations/main.go +++ b/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListReplayResults/main.go b/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListReplayResults/main.go index 38578c78ccb2..9edf194e009c 100644 --- a/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListReplayResults/main.go +++ b/internal/generated/snippets/policysimulator/apiv1/SimulatorClient/ListReplayResults/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*policysimulatorpb.ListReplayResultsResponse) } } diff --git a/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json b/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json index 40d3af7b478e..9feef0c3b7f4 100644 --- a/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json +++ b/internal/generated/snippets/policysimulator/apiv1/snippet_metadata.google.cloud.policysimulator.v1.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchCatalogs/main.go b/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchCatalogs/main.go index 3ab3564a6b47..03f5f8ac37a6 100644 --- a/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchCatalogs/main.go +++ b/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchCatalogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecatalogpb.SearchCatalogsResponse) } } diff --git a/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchProducts/main.go b/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchProducts/main.go index 930c47061f4b..25fb77b539a6 100644 --- a/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchProducts/main.go +++ b/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchProducts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecatalogpb.SearchProductsResponse) } } diff --git a/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchVersions/main.go b/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchVersions/main.go index 387a5e8128a1..dd2e8d0794c2 100644 --- a/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchVersions/main.go +++ b/internal/generated/snippets/privatecatalog/apiv1beta1/Client/SearchVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecatalogpb.SearchVersionsResponse) } } diff --git a/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json b/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json index e595796c23d4..9e144f3da556 100644 --- a/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json +++ b/internal/generated/snippets/privatecatalog/apiv1beta1/snippet_metadata.google.cloud.privatecatalog.v1beta1.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -98,7 +98,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSnapshots/main.go b/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSnapshots/main.go index be0b557a5fd8..b65f6d1ae4d5 100644 --- a/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSnapshots/main.go +++ b/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSnapshots/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListTopicSnapshotsResponse) } } diff --git a/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSubscriptions/main.go b/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSubscriptions/main.go index 6a27e5f0496a..766d9e3fa3f9 100644 --- a/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSubscriptions/main.go +++ b/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopicSubscriptions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListTopicSubscriptionsResponse) } } diff --git a/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopics/main.go b/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopics/main.go index 8773bbf9b9ac..8ec19ba05b54 100644 --- a/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopics/main.go +++ b/internal/generated/snippets/pubsub/apiv1/PublisherClient/ListTopics/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListTopicsResponse) } } diff --git a/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemaRevisions/main.go b/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemaRevisions/main.go index 381bbd5383ff..bf73076d8870 100644 --- a/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemaRevisions/main.go +++ b/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemaRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSchemaRevisionsResponse) } } diff --git a/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemas/main.go b/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemas/main.go index e087c80ce5d3..9669206b55d0 100644 --- a/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemas/main.go +++ b/internal/generated/snippets/pubsub/apiv1/SchemaClient/ListSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSchemasResponse) } } diff --git a/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSnapshots/main.go b/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSnapshots/main.go index 80ce93292a6c..d5a3eb35f5fd 100644 --- a/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSnapshots/main.go +++ b/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSnapshots/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSnapshotsResponse) } } diff --git a/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSubscriptions/main.go b/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSubscriptions/main.go index 57c9fac83bb7..08a9e2f1e61b 100644 --- a/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSubscriptions/main.go +++ b/internal/generated/snippets/pubsub/apiv1/SubscriberClient/ListSubscriptions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSubscriptionsResponse) } } diff --git a/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json b/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json index 320ce4dafb58..3ec1bbdad105 100644 --- a/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json +++ b/internal/generated/snippets/pubsub/apiv1/snippet_metadata.google.pubsub.v1.json @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -327,7 +327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1565,7 +1565,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1611,7 +1611,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListOperations/main.go b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListOperations/main.go index e5655d5776d4..1dc4028a5e29 100644 --- a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListOperations/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservationTopics/main.go b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservationTopics/main.go index ae3d6f7b62df..295e8a051814 100644 --- a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservationTopics/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservationTopics/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListReservationTopicsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservations/main.go b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservations/main.go index eed9f370d0b8..5dfecca57004 100644 --- a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservations/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListReservations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListReservationsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListSubscriptions/main.go b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListSubscriptions/main.go index b2536f86d403..793cde8ba59c 100644 --- a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListSubscriptions/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListSubscriptions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListSubscriptionsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopicSubscriptions/main.go b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopicSubscriptions/main.go index b4682f0232d3..2b7425c7f5f3 100644 --- a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopicSubscriptions/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopicSubscriptions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListTopicSubscriptionsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopics/main.go b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopics/main.go index 8675a52ffd89..35142b182c35 100644 --- a/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopics/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/AdminClient/ListTopics/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListTopicsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListOperations/main.go b/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListOperations/main.go index fda13e92a38d..99260b88597e 100644 --- a/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListOperations/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListPartitionCursors/main.go b/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListPartitionCursors/main.go index 6bc3a2f606b3..b1f3bdda559a 100644 --- a/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListPartitionCursors/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/CursorClient/ListPartitionCursors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListPartitionCursorsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/PartitionAssignmentClient/ListOperations/main.go b/internal/generated/snippets/pubsublite/apiv1/PartitionAssignmentClient/ListOperations/main.go index 8bd17d6ce78e..fc44079abe4e 100644 --- a/internal/generated/snippets/pubsublite/apiv1/PartitionAssignmentClient/ListOperations/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/PartitionAssignmentClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/PublisherClient/ListOperations/main.go b/internal/generated/snippets/pubsublite/apiv1/PublisherClient/ListOperations/main.go index 8c18582a9ae7..31a634827713 100644 --- a/internal/generated/snippets/pubsublite/apiv1/PublisherClient/ListOperations/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/PublisherClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/SubscriberClient/ListOperations/main.go b/internal/generated/snippets/pubsublite/apiv1/SubscriberClient/ListOperations/main.go index 9aa40ff11522..e45858b3f30e 100644 --- a/internal/generated/snippets/pubsublite/apiv1/SubscriberClient/ListOperations/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/SubscriberClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/TopicStatsClient/ListOperations/main.go b/internal/generated/snippets/pubsublite/apiv1/TopicStatsClient/ListOperations/main.go index 73831bdfb6a4..21d059a590a4 100644 --- a/internal/generated/snippets/pubsublite/apiv1/TopicStatsClient/ListOperations/main.go +++ b/internal/generated/snippets/pubsublite/apiv1/TopicStatsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json b/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json index 08260d2bc0e8..7aceae627733 100644 --- a/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json +++ b/internal/generated/snippets/pubsublite/apiv1/snippet_metadata.google.cloud.pubsublite.v1.json @@ -645,7 +645,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -691,7 +691,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -737,7 +737,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -783,7 +783,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -829,7 +829,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -875,7 +875,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1287,7 +1287,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1333,7 +1333,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1599,7 +1599,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1781,7 +1781,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2005,7 +2005,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2367,7 +2367,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListCollectors/main.go b/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListCollectors/main.go index 9e38ed21bd66..fe51e7065e1b 100644 --- a/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListCollectors/main.go +++ b/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListCollectors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*rapidmigrationassessmentpb.ListCollectorsResponse) } } diff --git a/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListLocations/main.go index f16168155113..ebce7071cd7b 100644 --- a/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListOperations/main.go index 5df8d1bfe5d2..eb842142c4fd 100644 --- a/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/rapidmigrationassessment/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json b/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json index aa8c32745367..566e8c99bda6 100644 --- a/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json +++ b/internal/generated/snippets/rapidmigrationassessment/apiv1/snippet_metadata.google.cloud.rapidmigrationassessment.v1.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListFirewallPolicies/main.go b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListFirewallPolicies/main.go index 59e467236f71..43c002885cf4 100644 --- a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListFirewallPolicies/main.go +++ b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListFirewallPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListFirewallPoliciesResponse) } } diff --git a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListKeys/main.go b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListKeys/main.go index 024aa5f26957..9531145a9ca1 100644 --- a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListKeys/main.go +++ b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListKeysResponse) } } diff --git a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroupMemberships/main.go b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroupMemberships/main.go index e9dd8391bb70..c970f5a944ab 100644 --- a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroupMemberships/main.go +++ b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroupMemberships/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListRelatedAccountGroupMembershipsResponse) } } diff --git a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroups/main.go b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroups/main.go index c065fcdb2317..1ea4ad92e88e 100644 --- a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroups/main.go +++ b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/ListRelatedAccountGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListRelatedAccountGroupsResponse) } } diff --git a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/SearchRelatedAccountGroupMemberships/main.go b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/SearchRelatedAccountGroupMemberships/main.go index be108ded8f14..fe2a2b5e0cda 100644 --- a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/SearchRelatedAccountGroupMemberships/main.go +++ b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/Client/SearchRelatedAccountGroupMemberships/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.SearchRelatedAccountGroupMembershipsResponse) } } diff --git a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json index 230647f20bf4..b7c2863a9d6e 100644 --- a/internal/generated/snippets/recaptchaenterprise/v2/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json +++ b/internal/generated/snippets/recaptchaenterprise/v2/apiv1/snippet_metadata.google.cloud.recaptchaenterprise.v1.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/recommendationengine/apiv1beta1/CatalogClient/ListCatalogItems/main.go b/internal/generated/snippets/recommendationengine/apiv1beta1/CatalogClient/ListCatalogItems/main.go index 2d40a2259a21..5b5abe1cc6b4 100644 --- a/internal/generated/snippets/recommendationengine/apiv1beta1/CatalogClient/ListCatalogItems/main.go +++ b/internal/generated/snippets/recommendationengine/apiv1beta1/CatalogClient/ListCatalogItems/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.ListCatalogItemsResponse) } } diff --git a/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionApiKeyRegistryClient/ListPredictionApiKeyRegistrations/main.go b/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionApiKeyRegistryClient/ListPredictionApiKeyRegistrations/main.go index 817c37bb816e..7041a61d5cf5 100644 --- a/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionApiKeyRegistryClient/ListPredictionApiKeyRegistrations/main.go +++ b/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionApiKeyRegistryClient/ListPredictionApiKeyRegistrations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.ListPredictionApiKeyRegistrationsResponse) } } diff --git a/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionClient/Predict/main.go b/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionClient/Predict/main.go index 6cfc5710af64..41a1bdd6dbe6 100644 --- a/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionClient/Predict/main.go +++ b/internal/generated/snippets/recommendationengine/apiv1beta1/PredictionClient/Predict/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.PredictResponse) } } diff --git a/internal/generated/snippets/recommendationengine/apiv1beta1/UserEventClient/ListUserEvents/main.go b/internal/generated/snippets/recommendationengine/apiv1beta1/UserEventClient/ListUserEvents/main.go index bca5701d6161..1fe82cb585a9 100644 --- a/internal/generated/snippets/recommendationengine/apiv1beta1/UserEventClient/ListUserEvents/main.go +++ b/internal/generated/snippets/recommendationengine/apiv1beta1/UserEventClient/ListUserEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.ListUserEventsResponse) } } diff --git a/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json b/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json index 8ec6bf6dbbce..751192a72554 100644 --- a/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json +++ b/internal/generated/snippets/recommendationengine/apiv1beta1/snippet_metadata.google.cloud.recommendationengine.v1beta1.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/recommender/apiv1/Client/ListInsights/main.go b/internal/generated/snippets/recommender/apiv1/Client/ListInsights/main.go index a6ff83465928..f97086f1ac9d 100644 --- a/internal/generated/snippets/recommender/apiv1/Client/ListInsights/main.go +++ b/internal/generated/snippets/recommender/apiv1/Client/ListInsights/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListInsightsResponse) } } diff --git a/internal/generated/snippets/recommender/apiv1/Client/ListRecommendations/main.go b/internal/generated/snippets/recommender/apiv1/Client/ListRecommendations/main.go index 6fd44e2342d9..34f2b1177642 100644 --- a/internal/generated/snippets/recommender/apiv1/Client/ListRecommendations/main.go +++ b/internal/generated/snippets/recommender/apiv1/Client/ListRecommendations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListRecommendationsResponse) } } diff --git a/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json b/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json index 51db5241dc84..7ca11b6c1c23 100644 --- a/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json +++ b/internal/generated/snippets/recommender/apiv1/snippet_metadata.google.cloud.recommender.v1.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsightTypes/main.go b/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsightTypes/main.go index 40d1526068c4..d6543dcd2043 100644 --- a/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsightTypes/main.go +++ b/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsightTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListInsightTypesResponse) } } diff --git a/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsights/main.go b/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsights/main.go index 47361d55da67..044262285e3b 100644 --- a/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsights/main.go +++ b/internal/generated/snippets/recommender/apiv1beta1/Client/ListInsights/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListInsightsResponse) } } diff --git a/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommendations/main.go b/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommendations/main.go index b7beb70c8d0c..ab34f5bf00db 100644 --- a/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommendations/main.go +++ b/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommendations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListRecommendationsResponse) } } diff --git a/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommenders/main.go b/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommenders/main.go index 33184eb2928f..f4d521f3fb6c 100644 --- a/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommenders/main.go +++ b/internal/generated/snippets/recommender/apiv1beta1/Client/ListRecommenders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListRecommendersResponse) } } diff --git a/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json b/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json index ca1b5baa803c..d1267640efcd 100644 --- a/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json +++ b/internal/generated/snippets/recommender/apiv1beta1/snippet_metadata.google.cloud.recommender.v1beta1.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListInstances/main.go b/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListInstances/main.go index 123b9bd2d986..60e07f94c7b2 100644 --- a/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListInstances/main.go +++ b/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*redispb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListLocations/main.go b/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListLocations/main.go index 387d05111c01..e2d497f56b56 100644 --- a/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListLocations/main.go +++ b/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListOperations/main.go b/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListOperations/main.go index 05dd4276d010..f81598d918d6 100644 --- a/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListOperations/main.go +++ b/internal/generated/snippets/redis/apiv1/CloudRedisClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json b/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json index 0fff618d300c..251ff5160d26 100644 --- a/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json +++ b/internal/generated/snippets/redis/apiv1/snippet_metadata.google.cloud.redis.v1.json @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/redis/apiv1beta1/CloudRedisClient/ListInstances/main.go b/internal/generated/snippets/redis/apiv1beta1/CloudRedisClient/ListInstances/main.go index 44434d6c7bcd..a5ad56b52edf 100644 --- a/internal/generated/snippets/redis/apiv1beta1/CloudRedisClient/ListInstances/main.go +++ b/internal/generated/snippets/redis/apiv1beta1/CloudRedisClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*redispb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json b/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json index d1e63f5113ce..efa5fa745835 100644 --- a/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json +++ b/internal/generated/snippets/redis/apiv1beta1/snippet_metadata.google.cloud.redis.v1beta1.json @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListClusters/main.go b/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListClusters/main.go index 8f2557e84119..bb588ad433d8 100644 --- a/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListClusters/main.go +++ b/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clusterpb.ListClustersResponse) } } diff --git a/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListLocations/main.go b/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListLocations/main.go index fad2f801dcc6..7a49ba097d28 100644 --- a/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListLocations/main.go +++ b/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListOperations/main.go b/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListOperations/main.go index fb0a008e27c9..2919100b3afe 100644 --- a/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListOperations/main.go +++ b/internal/generated/snippets/redis/cluster/apiv1/CloudRedisClusterClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json b/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json index 886e2055420b..00827fd1ac13 100644 --- a/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json +++ b/internal/generated/snippets/redis/cluster/apiv1/snippet_metadata.google.cloud.redis.cluster.v1.json @@ -372,7 +372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/ListFolders/main.go b/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/ListFolders/main.go index c20814a1cede..470ba33cc27b 100644 --- a/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/ListFolders/main.go +++ b/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/ListFolders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListFoldersResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/SearchFolders/main.go b/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/SearchFolders/main.go index 7afb1cc603bf..e9420bb779da 100644 --- a/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/SearchFolders/main.go +++ b/internal/generated/snippets/resourcemanager/apiv2/FoldersClient/SearchFolders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchFoldersResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json b/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json index 6204617fc83a..378fd72e229e 100644 --- a/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json +++ b/internal/generated/snippets/resourcemanager/apiv2/snippet_metadata.google.cloud.resourcemanager.v2.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/ListFolders/main.go b/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/ListFolders/main.go index 1d5f34a788ac..31f5b88523bc 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/ListFolders/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/ListFolders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListFoldersResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/SearchFolders/main.go b/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/SearchFolders/main.go index 106b28a6db3c..757d57305fdb 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/SearchFolders/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/FoldersClient/SearchFolders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchFoldersResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/OrganizationsClient/SearchOrganizations/main.go b/internal/generated/snippets/resourcemanager/apiv3/OrganizationsClient/SearchOrganizations/main.go index fb5ed4b249fa..71c8f1b862d5 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/OrganizationsClient/SearchOrganizations/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/OrganizationsClient/SearchOrganizations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchOrganizationsResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/ListProjects/main.go b/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/ListProjects/main.go index 98ccffd581c1..8c81c20a7dcc 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/ListProjects/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/ListProjects/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListProjectsResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/SearchProjects/main.go b/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/SearchProjects/main.go index a3b7ee5f9358..43de6fce8f91 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/SearchProjects/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/ProjectsClient/SearchProjects/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchProjectsResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListEffectiveTags/main.go b/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListEffectiveTags/main.go index f92fc0c720b1..ed0b67898779 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListEffectiveTags/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListEffectiveTags/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListEffectiveTagsResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListTagBindings/main.go b/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListTagBindings/main.go index a1f93511e7ec..d35ff7476d79 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListTagBindings/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/TagBindingsClient/ListTagBindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagBindingsResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/TagHoldsClient/ListTagHolds/main.go b/internal/generated/snippets/resourcemanager/apiv3/TagHoldsClient/ListTagHolds/main.go index bca6451c8509..fd303a34f9e3 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/TagHoldsClient/ListTagHolds/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/TagHoldsClient/ListTagHolds/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagHoldsResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/TagKeysClient/ListTagKeys/main.go b/internal/generated/snippets/resourcemanager/apiv3/TagKeysClient/ListTagKeys/main.go index 1e4f00f921af..f0976aa91071 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/TagKeysClient/ListTagKeys/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/TagKeysClient/ListTagKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagKeysResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/TagValuesClient/ListTagValues/main.go b/internal/generated/snippets/resourcemanager/apiv3/TagValuesClient/ListTagValues/main.go index 5e80cc55ad05..6c00be3693e9 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/TagValuesClient/ListTagValues/main.go +++ b/internal/generated/snippets/resourcemanager/apiv3/TagValuesClient/ListTagValues/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagValuesResponse) } } diff --git a/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json b/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json index 5ca17cd4639c..4f1ea12166ca 100644 --- a/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json +++ b/internal/generated/snippets/resourcemanager/apiv3/snippet_metadata.google.cloud.resourcemanager.v3.json @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -742,7 +742,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1110,7 +1110,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1202,7 +1202,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1570,7 +1570,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1616,7 +1616,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1800,7 +1800,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2122,7 +2122,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2582,7 +2582,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/resourcesettings/apiv1/Client/ListSettings/main.go b/internal/generated/snippets/resourcesettings/apiv1/Client/ListSettings/main.go index 9849aea3c3fd..f3b1aa2d43d4 100644 --- a/internal/generated/snippets/resourcesettings/apiv1/Client/ListSettings/main.go +++ b/internal/generated/snippets/resourcesettings/apiv1/Client/ListSettings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcesettingspb.ListSettingsResponse) } } diff --git a/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json b/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json index b3ecec00f7a0..395645411606 100644 --- a/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json +++ b/internal/generated/snippets/resourcesettings/apiv1/snippet_metadata.google.cloud.resourcesettings.v1.json @@ -98,7 +98,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/retail/apiv2/AnalyticsClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/AnalyticsClient/ListOperations/main.go index bb76f2c5a437..0b69dbd6de0e 100644 --- a/internal/generated/snippets/retail/apiv2/AnalyticsClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/AnalyticsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/CatalogClient/ListCatalogs/main.go b/internal/generated/snippets/retail/apiv2/CatalogClient/ListCatalogs/main.go index 42cf33d5538d..dabec765018f 100644 --- a/internal/generated/snippets/retail/apiv2/CatalogClient/ListCatalogs/main.go +++ b/internal/generated/snippets/retail/apiv2/CatalogClient/ListCatalogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListCatalogsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/CatalogClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/CatalogClient/ListOperations/main.go index 7cf39f52377a..64557fd521bb 100644 --- a/internal/generated/snippets/retail/apiv2/CatalogClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/CatalogClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/CompletionClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/CompletionClient/ListOperations/main.go index 113b495e17dc..343f912ca8b9 100644 --- a/internal/generated/snippets/retail/apiv2/CompletionClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/CompletionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ControlClient/ListControls/main.go b/internal/generated/snippets/retail/apiv2/ControlClient/ListControls/main.go index 2e3b74563865..f99fe6b530b7 100644 --- a/internal/generated/snippets/retail/apiv2/ControlClient/ListControls/main.go +++ b/internal/generated/snippets/retail/apiv2/ControlClient/ListControls/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListControlsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ControlClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/ControlClient/ListOperations/main.go index 44964039feea..2ee0c294f9c8 100644 --- a/internal/generated/snippets/retail/apiv2/ControlClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/ControlClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ModelClient/ListModels/main.go b/internal/generated/snippets/retail/apiv2/ModelClient/ListModels/main.go index d5262659d13e..88aad7631ac6 100644 --- a/internal/generated/snippets/retail/apiv2/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/retail/apiv2/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListModelsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ModelClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/ModelClient/ListOperations/main.go index 34618a15dde3..5cd122534043 100644 --- a/internal/generated/snippets/retail/apiv2/ModelClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/ModelClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/PredictionClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/PredictionClient/ListOperations/main.go index f7d81ae14293..656499158d40 100644 --- a/internal/generated/snippets/retail/apiv2/PredictionClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/PredictionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ProductClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/ProductClient/ListOperations/main.go index 8396096d5993..eefaa300c62e 100644 --- a/internal/generated/snippets/retail/apiv2/ProductClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/ProductClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ProductClient/ListProducts/main.go b/internal/generated/snippets/retail/apiv2/ProductClient/ListProducts/main.go index 73b01162e4fa..e92fd0e77396 100644 --- a/internal/generated/snippets/retail/apiv2/ProductClient/ListProducts/main.go +++ b/internal/generated/snippets/retail/apiv2/ProductClient/ListProducts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListProductsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/SearchClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/SearchClient/ListOperations/main.go index 3d26719ca43e..01f8d5d91730 100644 --- a/internal/generated/snippets/retail/apiv2/SearchClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/SearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/SearchClient/Search/main.go b/internal/generated/snippets/retail/apiv2/SearchClient/Search/main.go index 4cb47075c26f..26bd1d82c94b 100644 --- a/internal/generated/snippets/retail/apiv2/SearchClient/Search/main.go +++ b/internal/generated/snippets/retail/apiv2/SearchClient/Search/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.SearchResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListOperations/main.go index c72df2a9e117..b7c3bc06891d 100644 --- a/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListServingConfigs/main.go b/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListServingConfigs/main.go index c9b4ee30392b..755493ec662f 100644 --- a/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListServingConfigs/main.go +++ b/internal/generated/snippets/retail/apiv2/ServingConfigClient/ListServingConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListServingConfigsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/UserEventClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2/UserEventClient/ListOperations/main.go index b9a021f45a94..1fc8e24a3d9d 100644 --- a/internal/generated/snippets/retail/apiv2/UserEventClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2/UserEventClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json b/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json index d886aedf6b4d..9e5347e16417 100644 --- a/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json +++ b/internal/generated/snippets/retail/apiv2/snippet_metadata.google.cloud.retail.v2.json @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -925,7 +925,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1475,7 +1475,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1521,7 +1521,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1797,7 +1797,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2210,7 +2210,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2256,7 +2256,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2532,7 +2532,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2578,7 +2578,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2853,7 +2853,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2899,7 +2899,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3175,7 +3175,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/retail/apiv2alpha/AnalyticsClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/AnalyticsClient/ListOperations/main.go index d21d7086c66b..fa57899c9d45 100644 --- a/internal/generated/snippets/retail/apiv2alpha/AnalyticsClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/AnalyticsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListCatalogs/main.go b/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListCatalogs/main.go index c92b4ec35bc3..41b03f21ee40 100644 --- a/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListCatalogs/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListCatalogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListCatalogsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListOperations/main.go index bc6e9624f9ce..cd3057ec6250 100644 --- a/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/CatalogClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/CompletionClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/CompletionClient/ListOperations/main.go index acf548c82c8f..09d1644b8b15 100644 --- a/internal/generated/snippets/retail/apiv2alpha/CompletionClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/CompletionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListControls/main.go b/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListControls/main.go index 39b1b05a873b..51162fb8bfa4 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListControls/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListControls/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListControlsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListOperations/main.go index adc78eac3682..df639cef0b55 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ControlClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/MerchantCenterAccountLinkClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/MerchantCenterAccountLinkClient/ListOperations/main.go index 3260997dd2a2..42b1767f1bea 100644 --- a/internal/generated/snippets/retail/apiv2alpha/MerchantCenterAccountLinkClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/MerchantCenterAccountLinkClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListModels/main.go b/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListModels/main.go index e6b136cd3355..4eaf76f2ef7b 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListModelsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListOperations/main.go index e1fb98140ac3..fb771c651dfa 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ModelClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/PredictionClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/PredictionClient/ListOperations/main.go index 540d3fd4e3f3..c124036275e8 100644 --- a/internal/generated/snippets/retail/apiv2alpha/PredictionClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/PredictionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListOperations/main.go index fed13443dd04..3055b4e5dab8 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListProducts/main.go b/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListProducts/main.go index dc0f597c4883..5fab9b9f0d07 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListProducts/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ProductClient/ListProducts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListProductsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/SearchClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/SearchClient/ListOperations/main.go index 8226cfa14d58..b1905f23d33f 100644 --- a/internal/generated/snippets/retail/apiv2alpha/SearchClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/SearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/SearchClient/Search/main.go b/internal/generated/snippets/retail/apiv2alpha/SearchClient/Search/main.go index 242018072cb5..cde322e55292 100644 --- a/internal/generated/snippets/retail/apiv2alpha/SearchClient/Search/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/SearchClient/Search/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.SearchResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListOperations/main.go index 8e3aad4a8320..206758d9fce5 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListServingConfigs/main.go b/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListServingConfigs/main.go index 08ed14f5b06b..eddbfbb5f273 100644 --- a/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListServingConfigs/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/ServingConfigClient/ListServingConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListServingConfigsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/UserEventClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2alpha/UserEventClient/ListOperations/main.go index 8097a8c03652..d1d74408e623 100644 --- a/internal/generated/snippets/retail/apiv2alpha/UserEventClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2alpha/UserEventClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json b/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json index 82a51b5609af..733040dfced1 100644 --- a/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json +++ b/internal/generated/snippets/retail/apiv2alpha/snippet_metadata.google.cloud.retail.v2alpha.json @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -971,7 +971,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1521,7 +1521,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2072,7 +2072,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2485,7 +2485,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2531,7 +2531,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2853,7 +2853,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2899,7 +2899,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3174,7 +3174,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3220,7 +3220,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3496,7 +3496,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/retail/apiv2beta/AnalyticsClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/AnalyticsClient/ListOperations/main.go index 49918f9c78f9..575e1d15335a 100644 --- a/internal/generated/snippets/retail/apiv2beta/AnalyticsClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/AnalyticsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListCatalogs/main.go b/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListCatalogs/main.go index 42172a2e024d..2b1bd66f8c50 100644 --- a/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListCatalogs/main.go +++ b/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListCatalogs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListCatalogsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListOperations/main.go index 76cedda4ab0c..df6590d7375c 100644 --- a/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/CatalogClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/CompletionClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/CompletionClient/ListOperations/main.go index 82ae4a0dbc61..e15072126edf 100644 --- a/internal/generated/snippets/retail/apiv2beta/CompletionClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/CompletionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ControlClient/ListControls/main.go b/internal/generated/snippets/retail/apiv2beta/ControlClient/ListControls/main.go index 837f8d02916f..9b8c7e5dcc0a 100644 --- a/internal/generated/snippets/retail/apiv2beta/ControlClient/ListControls/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ControlClient/ListControls/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListControlsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ControlClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/ControlClient/ListOperations/main.go index 5daf4bd3efe0..8fd76e381023 100644 --- a/internal/generated/snippets/retail/apiv2beta/ControlClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ControlClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ModelClient/ListModels/main.go b/internal/generated/snippets/retail/apiv2beta/ModelClient/ListModels/main.go index efcc1a2897e8..9852ea19dea9 100644 --- a/internal/generated/snippets/retail/apiv2beta/ModelClient/ListModels/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ModelClient/ListModels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListModelsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ModelClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/ModelClient/ListOperations/main.go index 76bc53d1fd1c..0eff4cb7158a 100644 --- a/internal/generated/snippets/retail/apiv2beta/ModelClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ModelClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/PredictionClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/PredictionClient/ListOperations/main.go index 555177b9c5ef..c2f86d942ec5 100644 --- a/internal/generated/snippets/retail/apiv2beta/PredictionClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/PredictionClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ProductClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/ProductClient/ListOperations/main.go index 3efb60e16ff5..f17350a3cd15 100644 --- a/internal/generated/snippets/retail/apiv2beta/ProductClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ProductClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ProductClient/ListProducts/main.go b/internal/generated/snippets/retail/apiv2beta/ProductClient/ListProducts/main.go index 329bd948991a..db840b16b251 100644 --- a/internal/generated/snippets/retail/apiv2beta/ProductClient/ListProducts/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ProductClient/ListProducts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListProductsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/SearchClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/SearchClient/ListOperations/main.go index b5428d2e346e..3be3121a6988 100644 --- a/internal/generated/snippets/retail/apiv2beta/SearchClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/SearchClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/SearchClient/Search/main.go b/internal/generated/snippets/retail/apiv2beta/SearchClient/Search/main.go index 7dc31772741e..b1dcbb6a3b93 100644 --- a/internal/generated/snippets/retail/apiv2beta/SearchClient/Search/main.go +++ b/internal/generated/snippets/retail/apiv2beta/SearchClient/Search/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.SearchResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListOperations/main.go index 933c5c7a8f41..bf9318436ecb 100644 --- a/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListServingConfigs/main.go b/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListServingConfigs/main.go index f8b9cef6953c..5bdbb13b3dfe 100644 --- a/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListServingConfigs/main.go +++ b/internal/generated/snippets/retail/apiv2beta/ServingConfigClient/ListServingConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListServingConfigsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/UserEventClient/ListOperations/main.go b/internal/generated/snippets/retail/apiv2beta/UserEventClient/ListOperations/main.go index 97efd888429d..42b186747741 100644 --- a/internal/generated/snippets/retail/apiv2beta/UserEventClient/ListOperations/main.go +++ b/internal/generated/snippets/retail/apiv2beta/UserEventClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json b/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json index b7e871d29d3b..d2c9a41165c1 100644 --- a/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json +++ b/internal/generated/snippets/retail/apiv2beta/snippet_metadata.google.cloud.retail.v2beta.json @@ -144,7 +144,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -971,7 +971,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1521,7 +1521,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1567,7 +1567,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1843,7 +1843,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2256,7 +2256,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2302,7 +2302,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2578,7 +2578,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2624,7 +2624,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2899,7 +2899,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2945,7 +2945,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3221,7 +3221,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/run/apiv2/ExecutionsClient/ListExecutions/main.go b/internal/generated/snippets/run/apiv2/ExecutionsClient/ListExecutions/main.go index 294ac83e209a..4d27e2b97471 100644 --- a/internal/generated/snippets/run/apiv2/ExecutionsClient/ListExecutions/main.go +++ b/internal/generated/snippets/run/apiv2/ExecutionsClient/ListExecutions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListExecutionsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/ExecutionsClient/ListOperations/main.go b/internal/generated/snippets/run/apiv2/ExecutionsClient/ListOperations/main.go index debb007e756b..99713a005c01 100644 --- a/internal/generated/snippets/run/apiv2/ExecutionsClient/ListOperations/main.go +++ b/internal/generated/snippets/run/apiv2/ExecutionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/JobsClient/ListJobs/main.go b/internal/generated/snippets/run/apiv2/JobsClient/ListJobs/main.go index 8764e2f05044..566dc9ef9284 100644 --- a/internal/generated/snippets/run/apiv2/JobsClient/ListJobs/main.go +++ b/internal/generated/snippets/run/apiv2/JobsClient/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/JobsClient/ListOperations/main.go b/internal/generated/snippets/run/apiv2/JobsClient/ListOperations/main.go index 42a5f14f6d22..198c92902110 100644 --- a/internal/generated/snippets/run/apiv2/JobsClient/ListOperations/main.go +++ b/internal/generated/snippets/run/apiv2/JobsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/RevisionsClient/ListOperations/main.go b/internal/generated/snippets/run/apiv2/RevisionsClient/ListOperations/main.go index da8d1d5e4135..5315f84135c4 100644 --- a/internal/generated/snippets/run/apiv2/RevisionsClient/ListOperations/main.go +++ b/internal/generated/snippets/run/apiv2/RevisionsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/RevisionsClient/ListRevisions/main.go b/internal/generated/snippets/run/apiv2/RevisionsClient/ListRevisions/main.go index 439918737f56..240779fd5b3c 100644 --- a/internal/generated/snippets/run/apiv2/RevisionsClient/ListRevisions/main.go +++ b/internal/generated/snippets/run/apiv2/RevisionsClient/ListRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListRevisionsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/ServicesClient/ListOperations/main.go b/internal/generated/snippets/run/apiv2/ServicesClient/ListOperations/main.go index bfa7d94857e9..5c1cfbb0ad78 100644 --- a/internal/generated/snippets/run/apiv2/ServicesClient/ListOperations/main.go +++ b/internal/generated/snippets/run/apiv2/ServicesClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/ServicesClient/ListServices/main.go b/internal/generated/snippets/run/apiv2/ServicesClient/ListServices/main.go index c9d38feae677..bb1420defe53 100644 --- a/internal/generated/snippets/run/apiv2/ServicesClient/ListServices/main.go +++ b/internal/generated/snippets/run/apiv2/ServicesClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListServicesResponse) } } diff --git a/internal/generated/snippets/run/apiv2/TasksClient/ListOperations/main.go b/internal/generated/snippets/run/apiv2/TasksClient/ListOperations/main.go index 68a4fe4b5712..bbf4f47daa79 100644 --- a/internal/generated/snippets/run/apiv2/TasksClient/ListOperations/main.go +++ b/internal/generated/snippets/run/apiv2/TasksClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/run/apiv2/TasksClient/ListTasks/main.go b/internal/generated/snippets/run/apiv2/TasksClient/ListTasks/main.go index 5d207769edd9..53e42a4e6500 100644 --- a/internal/generated/snippets/run/apiv2/TasksClient/ListTasks/main.go +++ b/internal/generated/snippets/run/apiv2/TasksClient/ListTasks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListTasksResponse) } } diff --git a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json index 80bf5a7c47f6..59f6a4d7c83a 100644 --- a/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json +++ b/internal/generated/snippets/run/apiv2/snippet_metadata.google.cloud.run.v2.json @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -327,7 +327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1199,7 +1199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1245,7 +1245,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1612,7 +1612,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1658,7 +1658,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2025,7 +2025,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2071,7 +2071,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListJobs/main.go b/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListJobs/main.go index 7ae9f6c93411..7dd0761907c7 100644 --- a/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListJobs/main.go +++ b/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*schedulerpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListLocations/main.go b/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListLocations/main.go index 259cf02305bc..8da7d576fc6e 100644 --- a/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListLocations/main.go +++ b/internal/generated/snippets/scheduler/apiv1/CloudSchedulerClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json b/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json index 45487e0d1762..279cef926217 100644 --- a/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json +++ b/internal/generated/snippets/scheduler/apiv1/snippet_metadata.google.cloud.scheduler.v1.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListJobs/main.go b/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListJobs/main.go index e65545954159..ea8929d140fd 100644 --- a/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListJobs/main.go +++ b/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*schedulerpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListLocations/main.go b/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListLocations/main.go index ae541dd22d2a..995e7caccb0d 100644 --- a/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListLocations/main.go +++ b/internal/generated/snippets/scheduler/apiv1beta1/CloudSchedulerClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json b/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json index baa33d11ca56..daf832137884 100644 --- a/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json +++ b/internal/generated/snippets/scheduler/apiv1beta1/snippet_metadata.google.cloud.scheduler.v1beta1.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/secretmanager/apiv1/Client/ListSecretVersions/main.go b/internal/generated/snippets/secretmanager/apiv1/Client/ListSecretVersions/main.go index 093a09c2a320..f86877e3916e 100644 --- a/internal/generated/snippets/secretmanager/apiv1/Client/ListSecretVersions/main.go +++ b/internal/generated/snippets/secretmanager/apiv1/Client/ListSecretVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretVersionsResponse) } } diff --git a/internal/generated/snippets/secretmanager/apiv1/Client/ListSecrets/main.go b/internal/generated/snippets/secretmanager/apiv1/Client/ListSecrets/main.go index 45c7ffe549d7..2e83ec4b0c41 100644 --- a/internal/generated/snippets/secretmanager/apiv1/Client/ListSecrets/main.go +++ b/internal/generated/snippets/secretmanager/apiv1/Client/ListSecrets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretsResponse) } } diff --git a/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json index 5fb9905b9840..f1685a9e3430 100644 --- a/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json +++ b/internal/generated/snippets/secretmanager/apiv1/snippet_metadata.google.cloud.secretmanager.v1.json @@ -511,7 +511,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -557,7 +557,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListLocations/main.go b/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListLocations/main.go index e630c7d04fa6..18a576656626 100644 --- a/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListLocations/main.go +++ b/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecretVersions/main.go b/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecretVersions/main.go index f9b12c316f25..4e45ec56d91e 100644 --- a/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecretVersions/main.go +++ b/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecretVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretVersionsResponse) } } diff --git a/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecrets/main.go b/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecrets/main.go index 670162a4310d..a933f935d89e 100644 --- a/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecrets/main.go +++ b/internal/generated/snippets/secretmanager/apiv1beta2/Client/ListSecrets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretsResponse) } } diff --git a/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json b/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json index c05e89adfbbf..56030bc93175 100644 --- a/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json +++ b/internal/generated/snippets/secretmanager/apiv1beta2/snippet_metadata.google.cloud.secretmanager.v1beta2.json @@ -557,7 +557,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -603,7 +603,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -649,7 +649,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListInstances/main.go b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListInstances/main.go index 34e77fa63bf7..9735ca59b894 100644 --- a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListInstances/main.go +++ b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securesourcemanagerpb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListLocations/main.go index 04688237d996..541cc225a0a9 100644 --- a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListOperations/main.go index ba228b027a4f..74c709280dee 100644 --- a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListRepositories/main.go b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListRepositories/main.go index 45493d921a12..b658db440505 100644 --- a/internal/generated/snippets/securesourcemanager/apiv1/Client/ListRepositories/main.go +++ b/internal/generated/snippets/securesourcemanager/apiv1/Client/ListRepositories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securesourcemanagerpb.ListRepositoriesResponse) } } diff --git a/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json b/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json index 987b17e4a8fb..3ba1b84b882d 100644 --- a/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json +++ b/internal/generated/snippets/securesourcemanager/apiv1/snippet_metadata.google.cloud.securesourcemanager.v1.json @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCaPools/main.go b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCaPools/main.go index 92948f383cd0..35f11f2e861e 100644 --- a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCaPools/main.go +++ b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCaPools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCaPoolsResponse) } } diff --git a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateAuthorities/main.go b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateAuthorities/main.go index f646b3d12a5a..301e749e4a28 100644 --- a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateAuthorities/main.go +++ b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateAuthorities/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificateAuthoritiesResponse) } } diff --git a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateRevocationLists/main.go b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateRevocationLists/main.go index 01f906a7494f..d94d9d4c74e4 100644 --- a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateRevocationLists/main.go +++ b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateRevocationLists/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificateRevocationListsResponse) } } diff --git a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateTemplates/main.go b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateTemplates/main.go index 01f602954da5..636873b415c8 100644 --- a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateTemplates/main.go +++ b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificateTemplates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificateTemplatesResponse) } } diff --git a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificates/main.go b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificates/main.go index 5bbc6db3cfec..f07b410dd103 100644 --- a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificates/main.go +++ b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListCertificates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificatesResponse) } } diff --git a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListLocations/main.go b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListLocations/main.go index 2f8744c38c00..1d4c828b0bca 100644 --- a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListLocations/main.go +++ b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListOperations/main.go b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListOperations/main.go index e1aec8652b68..7d1246214a99 100644 --- a/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListOperations/main.go +++ b/internal/generated/snippets/security/privateca/apiv1/CertificateAuthorityClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json b/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json index dcd25232169c..9223c664626b 100644 --- a/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json +++ b/internal/generated/snippets/security/privateca/apiv1/snippet_metadata.google.cloud.security.privateca.v1.json @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1246,7 +1246,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1292,7 +1292,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1338,7 +1338,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/GroupAssets/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/GroupAssets/main.go index 47860004d374..de82e98e1730 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/GroupAssets/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/GroupAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupAssetsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/GroupFindings/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/GroupFindings/main.go index 0d3bc3847452..5f5b1c4a6b01 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/GroupFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/GroupFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListAssets/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListAssets/main.go index d0ce416d05ba..fa58f6c99022 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListAssets/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListBigQueryExports/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListBigQueryExports/main.go index 64c874c12083..fa697e62c7e2 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListBigQueryExports/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListBigQueryExports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListBigQueryExportsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go index 58467a9af7f7..8be06dcac4f5 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListDescendantSecurityHealthAnalyticsCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go index 90ca23b184c7..a4d232fd5f3c 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListFindings/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListFindings/main.go index 72529d962b5e..bacb92881556 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListMuteConfigs/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListMuteConfigs/main.go index 88b2c69097f8..fa93d6f0215a 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListMuteConfigs/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListMuteConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListMuteConfigsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListNotificationConfigs/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListNotificationConfigs/main.go index d8b24a909144..780a0fb7fb3d 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListNotificationConfigs/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListNotificationConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListNotificationConfigsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListOperations/main.go index 702642bf0b48..d9105d0f4fc2 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go index c3b6771e7a87..27d0128a9bcd 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSecurityHealthAnalyticsCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/Client/ListSources/main.go b/internal/generated/snippets/securitycenter/apiv1/Client/ListSources/main.go index 95ac59b9f938..35b0a8879892 100644 --- a/internal/generated/snippets/securitycenter/apiv1/Client/ListSources/main.go +++ b/internal/generated/snippets/securitycenter/apiv1/Client/ListSources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json b/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json index 0daf1690be00..65abfd4bb389 100644 --- a/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json +++ b/internal/generated/snippets/securitycenter/apiv1/snippet_metadata.google.cloud.securitycenter.v1.json @@ -1058,7 +1058,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1104,7 +1104,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1150,7 +1150,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1196,7 +1196,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1242,7 +1242,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1288,7 +1288,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1334,7 +1334,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1380,7 +1380,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1426,7 +1426,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1472,7 +1472,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1518,7 +1518,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1564,7 +1564,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupAssets/main.go b/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupAssets/main.go index 2737b8173be1..aabd149d906a 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupAssets/main.go +++ b/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupAssetsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupFindings/main.go b/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupFindings/main.go index c8610f596810..bb3186bae080 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv1beta1/Client/GroupFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListAssets/main.go b/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListAssets/main.go index e18b3724fd7f..9c9de50de9e8 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListAssets/main.go +++ b/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListFindings/main.go b/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListFindings/main.go index 3dfc8f4ebb6e..33757ea5157a 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListSources/main.go b/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListSources/main.go index fa1f85479638..a4a598484c0c 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListSources/main.go +++ b/internal/generated/snippets/securitycenter/apiv1beta1/Client/ListSources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json b/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json index d79c90a3b900..62f917267fe2 100644 --- a/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json +++ b/internal/generated/snippets/securitycenter/apiv1beta1/snippet_metadata.google.cloud.securitycenter.v1beta1.json @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupAssets/main.go b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupAssets/main.go index ad24a57096c5..6d8ad7e228f8 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupAssets/main.go +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupAssetsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupFindings/main.go b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupFindings/main.go index 0830d152d7e8..97332b285516 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/GroupFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListAssets/main.go b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListAssets/main.go index 8f8f1e1d74c6..933a8deb28e7 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListAssets/main.go +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListFindings/main.go b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListFindings/main.go index 06070f717619..714ffbed57f3 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListNotificationConfigs/main.go b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListNotificationConfigs/main.go index e3309f0ec781..e2bb94204d28 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListNotificationConfigs/main.go +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListNotificationConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListNotificationConfigsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListSources/main.go b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListSources/main.go index bfdc31dd1731..0d852ba2c6c0 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListSources/main.go +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/Client/ListSources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json b/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json index 9a63cddf4051..688be51208d9 100644 --- a/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json +++ b/internal/generated/snippets/securitycenter/apiv1p1beta1/snippet_metadata.google.cloud.securitycenter.v1p1beta1.json @@ -419,7 +419,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -465,7 +465,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -511,7 +511,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -557,7 +557,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -603,7 +603,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -649,7 +649,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/GroupFindings/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/GroupFindings/main.go index 427740d9c44e..e051622a81dd 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/GroupFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/GroupFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListAttackPaths/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListAttackPaths/main.go index 4c18e1c26471..35783e141daf 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListAttackPaths/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListAttackPaths/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAttackPathsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListBigQueryExports/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListBigQueryExports/main.go index 3ffbc1488dbf..4fa08fd38a4b 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListBigQueryExports/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListBigQueryExports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListBigQueryExportsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListFindings/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListFindings/main.go index 3dca07977753..67a0ca4c2e07 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListFindings/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListMuteConfigs/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListMuteConfigs/main.go index 852d40cf3678..fa205e1b8c19 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListMuteConfigs/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListMuteConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListMuteConfigsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListNotificationConfigs/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListNotificationConfigs/main.go index 6677031c68d0..9b3c126b9880 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListNotificationConfigs/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListNotificationConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListNotificationConfigsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListOperations/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListOperations/main.go index c739a09a3b48..8f9ba7079554 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListOperations/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListResourceValueConfigs/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListResourceValueConfigs/main.go index ba70da58eebb..bbead52bda9f 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListResourceValueConfigs/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListResourceValueConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListResourceValueConfigsResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListSources/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListSources/main.go index 5d5b7852a2a7..2d465be2e113 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListSources/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListSources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/Client/ListValuedResources/main.go b/internal/generated/snippets/securitycenter/apiv2/Client/ListValuedResources/main.go index 5d72bcf9afba..3c1cc7d9e1e6 100644 --- a/internal/generated/snippets/securitycenter/apiv2/Client/ListValuedResources/main.go +++ b/internal/generated/snippets/securitycenter/apiv2/Client/ListValuedResources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListValuedResourcesResponse) } } diff --git a/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json b/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json index ac6b150bb5be..460c39663807 100644 --- a/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json +++ b/internal/generated/snippets/securitycenter/apiv2/snippet_metadata.google.cloud.securitycenter.v2.json @@ -1058,7 +1058,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1104,7 +1104,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1150,7 +1150,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1196,7 +1196,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1242,7 +1242,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1288,7 +1288,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1334,7 +1334,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1380,7 +1380,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1426,7 +1426,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1472,7 +1472,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListComponents/main.go b/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListComponents/main.go index aec8e8085bd0..44ac654d5d38 100644 --- a/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListComponents/main.go +++ b/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListComponents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*settingspb.ListComponentsResponse) } } diff --git a/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListDetectors/main.go b/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListDetectors/main.go index 40373078918e..2238f9f353f8 100644 --- a/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListDetectors/main.go +++ b/internal/generated/snippets/securitycenter/settings/apiv1beta1/SecurityCenterSettingsClient/ListDetectors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*settingspb.ListDetectorsResponse) } } diff --git a/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json b/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json index 5d5f7353cf8e..904152a46a4d 100644 --- a/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json +++ b/internal/generated/snippets/securitycenter/settings/apiv1beta1/snippet_metadata.google.cloud.securitycenter.settings.v1beta1.json @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -420,7 +420,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantEventThreatDetectionCustomModules/main.go b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantEventThreatDetectionCustomModules/main.go index 25a2356c6a37..a0adbb4f077b 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantEventThreatDetectionCustomModules/main.go +++ b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantEventThreatDetectionCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListDescendantEventThreatDetectionCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go index 182e1f2a29e3..89b5fbb4f18a 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go +++ b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListDescendantSecurityHealthAnalyticsCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListDescendantSecurityHealthAnalyticsCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveEventThreatDetectionCustomModules/main.go b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveEventThreatDetectionCustomModules/main.go index c181eb296cb3..5c78fd0cdd20 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveEventThreatDetectionCustomModules/main.go +++ b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveEventThreatDetectionCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListEffectiveEventThreatDetectionCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go index ae9008829587..f865f846b564 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go +++ b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEffectiveSecurityHealthAnalyticsCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEventThreatDetectionCustomModules/main.go b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEventThreatDetectionCustomModules/main.go index 93ac4176606d..ea8a4c2bae0c 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEventThreatDetectionCustomModules/main.go +++ b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListEventThreatDetectionCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListEventThreatDetectionCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListLocations/main.go index 98852c576e38..271a7c6ea862 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go index a130722413f5..a32d6f3bf583 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go +++ b/internal/generated/snippets/securitycentermanagement/apiv1/Client/ListSecurityHealthAnalyticsCustomModules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListSecurityHealthAnalyticsCustomModulesResponse) } } diff --git a/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json b/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json index 486664dad4f7..8435c7a1a070 100644 --- a/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json +++ b/internal/generated/snippets/securitycentermanagement/apiv1/snippet_metadata.google.cloud.securitycentermanagement.v1.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/securityposture/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/securityposture/apiv1/Client/ListLocations/main.go index 6ec7093f9808..8815de9eceb5 100644 --- a/internal/generated/snippets/securityposture/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/securityposture/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/securityposture/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/securityposture/apiv1/Client/ListOperations/main.go index 664e62aa36ef..b0ca89a5bcaa 100644 --- a/internal/generated/snippets/securityposture/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/securityposture/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/securityposture/apiv1/Client/ListPostureDeployments/main.go b/internal/generated/snippets/securityposture/apiv1/Client/ListPostureDeployments/main.go index e80fbbfcdcfa..c89dcf3881c1 100644 --- a/internal/generated/snippets/securityposture/apiv1/Client/ListPostureDeployments/main.go +++ b/internal/generated/snippets/securityposture/apiv1/Client/ListPostureDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPostureDeploymentsResponse) } } diff --git a/internal/generated/snippets/securityposture/apiv1/Client/ListPostureRevisions/main.go b/internal/generated/snippets/securityposture/apiv1/Client/ListPostureRevisions/main.go index 46ac79fdd3f4..fe7801c6217b 100644 --- a/internal/generated/snippets/securityposture/apiv1/Client/ListPostureRevisions/main.go +++ b/internal/generated/snippets/securityposture/apiv1/Client/ListPostureRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPostureRevisionsResponse) } } diff --git a/internal/generated/snippets/securityposture/apiv1/Client/ListPostureTemplates/main.go b/internal/generated/snippets/securityposture/apiv1/Client/ListPostureTemplates/main.go index 286d4c3284bb..739f5cc801b2 100644 --- a/internal/generated/snippets/securityposture/apiv1/Client/ListPostureTemplates/main.go +++ b/internal/generated/snippets/securityposture/apiv1/Client/ListPostureTemplates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPostureTemplatesResponse) } } diff --git a/internal/generated/snippets/securityposture/apiv1/Client/ListPostures/main.go b/internal/generated/snippets/securityposture/apiv1/Client/ListPostures/main.go index 452e42c2b4f7..d30f0c58c158 100644 --- a/internal/generated/snippets/securityposture/apiv1/Client/ListPostures/main.go +++ b/internal/generated/snippets/securityposture/apiv1/Client/ListPostures/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPosturesResponse) } } diff --git a/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json b/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json index bf480ca3294b..dadf6c1f3e3c 100644 --- a/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json +++ b/internal/generated/snippets/securityposture/apiv1/snippet_metadata.google.cloud.securityposture.v1.json @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/servicedirectory/apiv1/LookupClient/ListLocations/main.go b/internal/generated/snippets/servicedirectory/apiv1/LookupClient/ListLocations/main.go index cd5df0fd414b..77202d9fcd38 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/LookupClient/ListLocations/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1/LookupClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListEndpoints/main.go b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListEndpoints/main.go index 26956864c261..7cf8d0e7cdec 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListEndpoints/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListEndpointsResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListLocations/main.go b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListLocations/main.go index a7803f7bf833..16d7936cc8db 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListLocations/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListNamespaces/main.go b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListNamespaces/main.go index fd6260e818a8..b16be2c0279e 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListNamespaces/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListNamespaces/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListNamespacesResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListServices/main.go b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListServices/main.go index 4d1de9b95aea..37ee22634b6c 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListServices/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1/RegistrationClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListServicesResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json b/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json index efe6689b7ca4..0e7176cf1f2d 100644 --- a/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json +++ b/internal/generated/snippets/servicedirectory/apiv1/snippet_metadata.google.cloud.servicedirectory.v1.json @@ -98,7 +98,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -693,7 +693,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -739,7 +739,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -785,7 +785,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -831,7 +831,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/LookupClient/ListLocations/main.go b/internal/generated/snippets/servicedirectory/apiv1beta1/LookupClient/ListLocations/main.go index 96146c5f65c5..60d887794b74 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/LookupClient/ListLocations/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/LookupClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListEndpoints/main.go b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListEndpoints/main.go index c62c5f2363ed..0a8319485ba7 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListEndpoints/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListEndpointsResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListLocations/main.go b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListLocations/main.go index 8beb5fd55539..4a6548ec9a06 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListLocations/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListNamespaces/main.go b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListNamespaces/main.go index 71ab59885092..23d98caf3c78 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListNamespaces/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListNamespaces/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListNamespacesResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListServices/main.go b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListServices/main.go index 96a958514822..f091570da53c 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListServices/main.go +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/RegistrationClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListServicesResponse) } } diff --git a/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json b/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json index 99cbacce784f..5b9852b706ff 100644 --- a/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json +++ b/internal/generated/snippets/servicedirectory/apiv1beta1/snippet_metadata.google.cloud.servicedirectory.v1beta1.json @@ -98,7 +98,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -693,7 +693,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -739,7 +739,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -785,7 +785,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -831,7 +831,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/servicehealth/apiv1/Client/ListEvents/main.go b/internal/generated/snippets/servicehealth/apiv1/Client/ListEvents/main.go index 72a1b58dad5d..372ecbf0b3a9 100644 --- a/internal/generated/snippets/servicehealth/apiv1/Client/ListEvents/main.go +++ b/internal/generated/snippets/servicehealth/apiv1/Client/ListEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicehealthpb.ListEventsResponse) } } diff --git a/internal/generated/snippets/servicehealth/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/servicehealth/apiv1/Client/ListLocations/main.go index f11f72743fa4..c9467e081a06 100644 --- a/internal/generated/snippets/servicehealth/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/servicehealth/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationEvents/main.go b/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationEvents/main.go index 1b5d1792675b..ae46f690f128 100644 --- a/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationEvents/main.go +++ b/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicehealthpb.ListOrganizationEventsResponse) } } diff --git a/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationImpacts/main.go b/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationImpacts/main.go index e5f9735c5122..964d87320fd9 100644 --- a/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationImpacts/main.go +++ b/internal/generated/snippets/servicehealth/apiv1/Client/ListOrganizationImpacts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicehealthpb.ListOrganizationImpactsResponse) } } diff --git a/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json b/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json index 9de83de10995..f37b9bd1b283 100644 --- a/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json +++ b/internal/generated/snippets/servicehealth/apiv1/snippet_metadata.google.cloud.servicehealth.v1.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListOperations/main.go b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListOperations/main.go index b1ee65fe8f8d..b4c2e5b6afba 100644 --- a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListOperations/main.go +++ b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceConfigs/main.go b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceConfigs/main.go index 30f8a335217e..a6792c05ae19 100644 --- a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceConfigs/main.go +++ b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicemanagementpb.ListServiceConfigsResponse) } } diff --git a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceRollouts/main.go b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceRollouts/main.go index a9fc23a0fef0..60744edbc0be 100644 --- a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceRollouts/main.go +++ b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServiceRollouts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicemanagementpb.ListServiceRolloutsResponse) } } diff --git a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServices/main.go b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServices/main.go index 9df619272fb4..d809e52feec9 100644 --- a/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServices/main.go +++ b/internal/generated/snippets/servicemanagement/apiv1/ServiceManagerClient/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicemanagementpb.ListServicesResponse) } } diff --git a/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json b/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json index f7ec8e72d14e..c7a516279a6f 100644 --- a/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json +++ b/internal/generated/snippets/servicemanagement/apiv1/snippet_metadata.google.api.servicemanagement.v1.json @@ -466,7 +466,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -558,7 +558,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -604,7 +604,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/serviceusage/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/serviceusage/apiv1/Client/ListOperations/main.go index 18fd01a080c8..32b5905432db 100644 --- a/internal/generated/snippets/serviceusage/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/serviceusage/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/serviceusage/apiv1/Client/ListServices/main.go b/internal/generated/snippets/serviceusage/apiv1/Client/ListServices/main.go index 98852e32c05c..5aeb726c145d 100644 --- a/internal/generated/snippets/serviceusage/apiv1/Client/ListServices/main.go +++ b/internal/generated/snippets/serviceusage/apiv1/Client/ListServices/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*serviceusagepb.ListServicesResponse) } } diff --git a/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json b/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json index 12bf23b9d193..2d602c44be4a 100644 --- a/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json +++ b/internal/generated/snippets/serviceusage/apiv1/snippet_metadata.google.api.serviceusage.v1.json @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/shopping/css/apiv1/AccountLabelsClient/ListAccountLabels/main.go b/internal/generated/snippets/shopping/css/apiv1/AccountLabelsClient/ListAccountLabels/main.go index 3d3cbfb335b1..7751e1ca0148 100644 --- a/internal/generated/snippets/shopping/css/apiv1/AccountLabelsClient/ListAccountLabels/main.go +++ b/internal/generated/snippets/shopping/css/apiv1/AccountLabelsClient/ListAccountLabels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*csspb.ListAccountLabelsResponse) } } diff --git a/internal/generated/snippets/shopping/css/apiv1/AccountsClient/ListChildAccounts/main.go b/internal/generated/snippets/shopping/css/apiv1/AccountsClient/ListChildAccounts/main.go index ac3e22c5d988..758e3da322ba 100644 --- a/internal/generated/snippets/shopping/css/apiv1/AccountsClient/ListChildAccounts/main.go +++ b/internal/generated/snippets/shopping/css/apiv1/AccountsClient/ListChildAccounts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*csspb.ListChildAccountsResponse) } } diff --git a/internal/generated/snippets/shopping/css/apiv1/CssProductsClient/ListCssProducts/main.go b/internal/generated/snippets/shopping/css/apiv1/CssProductsClient/ListCssProducts/main.go index 211719b86399..758e555b9b80 100644 --- a/internal/generated/snippets/shopping/css/apiv1/CssProductsClient/ListCssProducts/main.go +++ b/internal/generated/snippets/shopping/css/apiv1/CssProductsClient/ListCssProducts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*csspb.ListCssProductsResponse) } } diff --git a/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json b/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json index 7990d9c0aa9b..3110ff16ebca 100644 --- a/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json +++ b/internal/generated/snippets/shopping/css/apiv1/snippet_metadata.google.shopping.css.v1.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/css/apiv1", - "version": "0.3.2", + "version": "0.4.0", "language": "GO", "apis": [ { @@ -143,7 +143,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/LocalInventoryClient/ListLocalInventories/main.go b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/LocalInventoryClient/ListLocalInventories/main.go index 4e98d45d8193..37bb805fa738 100644 --- a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/LocalInventoryClient/ListLocalInventories/main.go +++ b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/LocalInventoryClient/ListLocalInventories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventoriespb.ListLocalInventoriesResponse) } } diff --git a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/RegionalInventoryClient/ListRegionalInventories/main.go b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/RegionalInventoryClient/ListRegionalInventories/main.go index fc542f92cbfa..ab90dde1f113 100644 --- a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/RegionalInventoryClient/ListRegionalInventories/main.go +++ b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/RegionalInventoryClient/ListRegionalInventories/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventoriespb.ListRegionalInventoriesResponse) } } diff --git a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json index 947648454a1a..001d5d9fd7dd 100644 --- a/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json +++ b/internal/generated/snippets/shopping/merchant/inventories/apiv1beta/snippet_metadata.google.shopping.merchant.inventories.v1beta.json @@ -1,7 +1,7 @@ { "clientLibrary": { "name": "cloud.google.com/go/shopping/merchant/inventories/apiv1beta", - "version": "0.3.2", + "version": "0.4.0", "language": "GO", "apis": [ { @@ -143,7 +143,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -280,7 +280,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackupOperations/main.go b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackupOperations/main.go index d4fb923a1af0..ec32a20cff93 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackupOperations/main.go +++ b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackupOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListBackupOperationsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackups/main.go b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackups/main.go index aef7fd773cba..88ff618cfded 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackups/main.go +++ b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListBackups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListBackupsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseOperations/main.go b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseOperations/main.go index c0db8568a8cf..ae0319f45f18 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseOperations/main.go +++ b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListDatabaseOperationsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseRoles/main.go b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseRoles/main.go index 3a93025925f4..a4cb460887ac 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseRoles/main.go +++ b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabaseRoles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListDatabaseRolesResponse) } } diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabases/main.go b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabases/main.go index 2236119ee7d2..df608ac7e79b 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabases/main.go +++ b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListDatabases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListDatabasesResponse) } } diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListOperations/main.go b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListOperations/main.go index 98b24833f9de..9da09c4c31aa 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListOperations/main.go +++ b/internal/generated/snippets/spanner/admin/database/apiv1/DatabaseAdminClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json b/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json index b027546b705b..483fffb463f6 100644 --- a/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json +++ b/internal/generated/snippets/spanner/admin/database/apiv1/snippet_metadata.google.spanner.admin.database.v1.json @@ -600,7 +600,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -646,7 +646,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -692,7 +692,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -738,7 +738,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -784,7 +784,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -830,7 +830,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigOperations/main.go b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigOperations/main.go index c0eff2f9b74c..36e4e61d4979 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigOperations/main.go +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstanceConfigOperationsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigs/main.go b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigs/main.go index a6924b3de691..6120de14f422 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigs/main.go +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstanceConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstanceConfigsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitionOperations/main.go b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitionOperations/main.go index 7e6681de0d26..fee27550bf0d 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitionOperations/main.go +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitionOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstancePartitionOperationsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitions/main.go b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitions/main.go index 3d948ff9d411..62beda10c58a 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitions/main.go +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstancePartitions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstancePartitionsResponse) } } diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstances/main.go b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstances/main.go index ab6811f42ffe..17f69b73e825 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstances/main.go +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/InstanceAdminClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json b/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json index a1ae05266e84..74e78fe358c2 100644 --- a/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json +++ b/internal/generated/snippets/spanner/admin/instance/apiv1/snippet_metadata.google.spanner.admin.instance.v1.json @@ -509,7 +509,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -555,7 +555,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -601,7 +601,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -647,7 +647,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -693,7 +693,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/spanner/apiv1/Client/ListSessions/main.go b/internal/generated/snippets/spanner/apiv1/Client/ListSessions/main.go index 5abdfcac3014..25f64d6ece26 100644 --- a/internal/generated/snippets/spanner/apiv1/Client/ListSessions/main.go +++ b/internal/generated/snippets/spanner/apiv1/Client/ListSessions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*spannerpb.ListSessionsResponse) } } diff --git a/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json b/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json index aef7b4666b4a..6b565d5d3953 100644 --- a/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json +++ b/internal/generated/snippets/spanner/apiv1/snippet_metadata.google.spanner.v1.json @@ -419,7 +419,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/speech/apiv1/AdaptationClient/ListCustomClasses/main.go b/internal/generated/snippets/speech/apiv1/AdaptationClient/ListCustomClasses/main.go index 49a3b6caea40..37eda5ace8ca 100644 --- a/internal/generated/snippets/speech/apiv1/AdaptationClient/ListCustomClasses/main.go +++ b/internal/generated/snippets/speech/apiv1/AdaptationClient/ListCustomClasses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListCustomClassesResponse) } } diff --git a/internal/generated/snippets/speech/apiv1/AdaptationClient/ListOperations/main.go b/internal/generated/snippets/speech/apiv1/AdaptationClient/ListOperations/main.go index 4ac75640db62..5b03781b3040 100644 --- a/internal/generated/snippets/speech/apiv1/AdaptationClient/ListOperations/main.go +++ b/internal/generated/snippets/speech/apiv1/AdaptationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/speech/apiv1/AdaptationClient/ListPhraseSet/main.go b/internal/generated/snippets/speech/apiv1/AdaptationClient/ListPhraseSet/main.go index 21bf3b88f0ac..cad6124971c8 100644 --- a/internal/generated/snippets/speech/apiv1/AdaptationClient/ListPhraseSet/main.go +++ b/internal/generated/snippets/speech/apiv1/AdaptationClient/ListPhraseSet/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListPhraseSetResponse) } } diff --git a/internal/generated/snippets/speech/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/speech/apiv1/Client/ListOperations/main.go index 94b75440fc4c..d8c9bf0da70e 100644 --- a/internal/generated/snippets/speech/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/speech/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json index 0d4e7a6ede0f..aa263db8c2e1 100644 --- a/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json +++ b/internal/generated/snippets/speech/apiv1/snippet_metadata.google.cloud.speech.v1.json @@ -372,7 +372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListCustomClasses/main.go b/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListCustomClasses/main.go index 5c23c4d39464..94516f371995 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListCustomClasses/main.go +++ b/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListCustomClasses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListCustomClassesResponse) } } diff --git a/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListOperations/main.go b/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListOperations/main.go index 8a0b3f796e59..4d454076274b 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListOperations/main.go +++ b/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListPhraseSet/main.go b/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListPhraseSet/main.go index d29a9bec61cd..de284d1f2105 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListPhraseSet/main.go +++ b/internal/generated/snippets/speech/apiv1p1beta1/AdaptationClient/ListPhraseSet/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListPhraseSetResponse) } } diff --git a/internal/generated/snippets/speech/apiv1p1beta1/Client/ListOperations/main.go b/internal/generated/snippets/speech/apiv1p1beta1/Client/ListOperations/main.go index 8c6f2c8f4e31..2f8485e05e33 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/Client/ListOperations/main.go +++ b/internal/generated/snippets/speech/apiv1p1beta1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json index b262106e1a7e..43c208af4982 100644 --- a/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json +++ b/internal/generated/snippets/speech/apiv1p1beta1/snippet_metadata.google.cloud.speech.v1p1beta1.json @@ -372,7 +372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -418,7 +418,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/speech/apiv2/Client/ListCustomClasses/main.go b/internal/generated/snippets/speech/apiv2/Client/ListCustomClasses/main.go index 00561f0201f0..116a7c1e50ba 100644 --- a/internal/generated/snippets/speech/apiv2/Client/ListCustomClasses/main.go +++ b/internal/generated/snippets/speech/apiv2/Client/ListCustomClasses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListCustomClassesResponse) } } diff --git a/internal/generated/snippets/speech/apiv2/Client/ListLocations/main.go b/internal/generated/snippets/speech/apiv2/Client/ListLocations/main.go index 5762606b2751..c291856c8654 100644 --- a/internal/generated/snippets/speech/apiv2/Client/ListLocations/main.go +++ b/internal/generated/snippets/speech/apiv2/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/speech/apiv2/Client/ListOperations/main.go b/internal/generated/snippets/speech/apiv2/Client/ListOperations/main.go index 44c44b1dcfaa..352926c56e31 100644 --- a/internal/generated/snippets/speech/apiv2/Client/ListOperations/main.go +++ b/internal/generated/snippets/speech/apiv2/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/speech/apiv2/Client/ListPhraseSets/main.go b/internal/generated/snippets/speech/apiv2/Client/ListPhraseSets/main.go index 9935cbe19bae..6b81179c0923 100644 --- a/internal/generated/snippets/speech/apiv2/Client/ListPhraseSets/main.go +++ b/internal/generated/snippets/speech/apiv2/Client/ListPhraseSets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListPhraseSetsResponse) } } diff --git a/internal/generated/snippets/speech/apiv2/Client/ListRecognizers/main.go b/internal/generated/snippets/speech/apiv2/Client/ListRecognizers/main.go index fcbc1e7c784d..af7c082dc2de 100644 --- a/internal/generated/snippets/speech/apiv2/Client/ListRecognizers/main.go +++ b/internal/generated/snippets/speech/apiv2/Client/ListRecognizers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListRecognizersResponse) } } diff --git a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json index fd1fcf0c24ba..91a732273cc2 100644 --- a/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json +++ b/internal/generated/snippets/speech/apiv2/snippet_metadata.google.cloud.speech.v2.json @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/storage/control/apiv2/StorageControlClient/ListFolders/main.go b/internal/generated/snippets/storage/control/apiv2/StorageControlClient/ListFolders/main.go index 0bd3212f4d79..f72133fa3ceb 100644 --- a/internal/generated/snippets/storage/control/apiv2/StorageControlClient/ListFolders/main.go +++ b/internal/generated/snippets/storage/control/apiv2/StorageControlClient/ListFolders/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*controlpb.ListFoldersResponse) } } diff --git a/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json b/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json index 0826680abcbb..d59cbd57d2aa 100644 --- a/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json +++ b/internal/generated/snippets/storage/control/apiv2/snippet_metadata.google.storage.control.v2.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/storageinsights/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/storageinsights/apiv1/Client/ListLocations/main.go index ce8f0fd8fb7f..51720ebbf444 100644 --- a/internal/generated/snippets/storageinsights/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/storageinsights/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/storageinsights/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/storageinsights/apiv1/Client/ListOperations/main.go index 6fdba0aaf8d3..3f65b2c7f93d 100644 --- a/internal/generated/snippets/storageinsights/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/storageinsights/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/storageinsights/apiv1/Client/ListReportConfigs/main.go b/internal/generated/snippets/storageinsights/apiv1/Client/ListReportConfigs/main.go index d1312d894c26..10013e1fb258 100644 --- a/internal/generated/snippets/storageinsights/apiv1/Client/ListReportConfigs/main.go +++ b/internal/generated/snippets/storageinsights/apiv1/Client/ListReportConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storageinsightspb.ListReportConfigsResponse) } } diff --git a/internal/generated/snippets/storageinsights/apiv1/Client/ListReportDetails/main.go b/internal/generated/snippets/storageinsights/apiv1/Client/ListReportDetails/main.go index 89778836458b..cd982b58c5c6 100644 --- a/internal/generated/snippets/storageinsights/apiv1/Client/ListReportDetails/main.go +++ b/internal/generated/snippets/storageinsights/apiv1/Client/ListReportDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storageinsightspb.ListReportDetailsResponse) } } diff --git a/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json b/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json index 5082c0fff321..248dd5aa95ae 100644 --- a/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json +++ b/internal/generated/snippets/storageinsights/apiv1/snippet_metadata.google.cloud.storageinsights.v1.json @@ -417,7 +417,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -463,7 +463,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -509,7 +509,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -555,7 +555,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/storagetransfer/apiv1/Client/ListAgentPools/main.go b/internal/generated/snippets/storagetransfer/apiv1/Client/ListAgentPools/main.go index ea52493106be..8e200803d2d5 100644 --- a/internal/generated/snippets/storagetransfer/apiv1/Client/ListAgentPools/main.go +++ b/internal/generated/snippets/storagetransfer/apiv1/Client/ListAgentPools/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagetransferpb.ListAgentPoolsResponse) } } diff --git a/internal/generated/snippets/storagetransfer/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/storagetransfer/apiv1/Client/ListOperations/main.go index ade6d5d17500..14fd20e0b0b5 100644 --- a/internal/generated/snippets/storagetransfer/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/storagetransfer/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/storagetransfer/apiv1/Client/ListTransferJobs/main.go b/internal/generated/snippets/storagetransfer/apiv1/Client/ListTransferJobs/main.go index 6c4cca2f40e1..47f991685808 100644 --- a/internal/generated/snippets/storagetransfer/apiv1/Client/ListTransferJobs/main.go +++ b/internal/generated/snippets/storagetransfer/apiv1/Client/ListTransferJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagetransferpb.ListTransferJobsResponse) } } diff --git a/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json b/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json index 0ff5c1a826ff..0f7659f7dcc8 100644 --- a/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json +++ b/internal/generated/snippets/storagetransfer/apiv1/snippet_metadata.google.storagetransfer.v1.json @@ -463,7 +463,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -509,7 +509,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -555,7 +555,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/support/apiv2/CaseAttachmentClient/ListAttachments/main.go b/internal/generated/snippets/support/apiv2/CaseAttachmentClient/ListAttachments/main.go index 2ab165cdc188..1f0167c6bbb9 100644 --- a/internal/generated/snippets/support/apiv2/CaseAttachmentClient/ListAttachments/main.go +++ b/internal/generated/snippets/support/apiv2/CaseAttachmentClient/ListAttachments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.ListAttachmentsResponse) } } diff --git a/internal/generated/snippets/support/apiv2/CaseClient/ListCases/main.go b/internal/generated/snippets/support/apiv2/CaseClient/ListCases/main.go index fca4c1ca0088..cb5e2a99a892 100644 --- a/internal/generated/snippets/support/apiv2/CaseClient/ListCases/main.go +++ b/internal/generated/snippets/support/apiv2/CaseClient/ListCases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.ListCasesResponse) } } diff --git a/internal/generated/snippets/support/apiv2/CaseClient/SearchCaseClassifications/main.go b/internal/generated/snippets/support/apiv2/CaseClient/SearchCaseClassifications/main.go index e25412b66fc6..5216607537b3 100644 --- a/internal/generated/snippets/support/apiv2/CaseClient/SearchCaseClassifications/main.go +++ b/internal/generated/snippets/support/apiv2/CaseClient/SearchCaseClassifications/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.SearchCaseClassificationsResponse) } } diff --git a/internal/generated/snippets/support/apiv2/CaseClient/SearchCases/main.go b/internal/generated/snippets/support/apiv2/CaseClient/SearchCases/main.go index 4c32d76393a2..1d91ade11c32 100644 --- a/internal/generated/snippets/support/apiv2/CaseClient/SearchCases/main.go +++ b/internal/generated/snippets/support/apiv2/CaseClient/SearchCases/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.SearchCasesResponse) } } diff --git a/internal/generated/snippets/support/apiv2/CommentClient/ListComments/main.go b/internal/generated/snippets/support/apiv2/CommentClient/ListComments/main.go index cd109c80bf3b..69948b7d14c5 100644 --- a/internal/generated/snippets/support/apiv2/CommentClient/ListComments/main.go +++ b/internal/generated/snippets/support/apiv2/CommentClient/ListComments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.ListCommentsResponse) } } diff --git a/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json b/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json index 310d7a101aec..9e655a6c0df8 100644 --- a/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json +++ b/internal/generated/snippets/support/apiv2/snippet_metadata.google.cloud.support.v2.json @@ -52,7 +52,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -374,7 +374,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -512,7 +512,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/talent/apiv4/CompanyClient/ListCompanies/main.go b/internal/generated/snippets/talent/apiv4/CompanyClient/ListCompanies/main.go index 4a941578a298..e5e4dfe11ccf 100644 --- a/internal/generated/snippets/talent/apiv4/CompanyClient/ListCompanies/main.go +++ b/internal/generated/snippets/talent/apiv4/CompanyClient/ListCompanies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListCompaniesResponse) } } diff --git a/internal/generated/snippets/talent/apiv4/JobClient/ListJobs/main.go b/internal/generated/snippets/talent/apiv4/JobClient/ListJobs/main.go index 7f8d2bf451d8..6c88e1007a8b 100644 --- a/internal/generated/snippets/talent/apiv4/JobClient/ListJobs/main.go +++ b/internal/generated/snippets/talent/apiv4/JobClient/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/talent/apiv4/TenantClient/ListTenants/main.go b/internal/generated/snippets/talent/apiv4/TenantClient/ListTenants/main.go index dd6858127667..88065bcf47dc 100644 --- a/internal/generated/snippets/talent/apiv4/TenantClient/ListTenants/main.go +++ b/internal/generated/snippets/talent/apiv4/TenantClient/ListTenants/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListTenantsResponse) } } diff --git a/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json b/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json index 7cdc6ad7bc19..992e3c0f486f 100644 --- a/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json +++ b/internal/generated/snippets/talent/apiv4/snippet_metadata.google.cloud.talent.v4.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1199,7 +1199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/talent/apiv4beta1/CompanyClient/ListCompanies/main.go b/internal/generated/snippets/talent/apiv4beta1/CompanyClient/ListCompanies/main.go index 0bf120230aa6..50542ecb1d7b 100644 --- a/internal/generated/snippets/talent/apiv4beta1/CompanyClient/ListCompanies/main.go +++ b/internal/generated/snippets/talent/apiv4beta1/CompanyClient/ListCompanies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListCompaniesResponse) } } diff --git a/internal/generated/snippets/talent/apiv4beta1/JobClient/ListJobs/main.go b/internal/generated/snippets/talent/apiv4beta1/JobClient/ListJobs/main.go index df7c5b35dafa..2321f73897ba 100644 --- a/internal/generated/snippets/talent/apiv4beta1/JobClient/ListJobs/main.go +++ b/internal/generated/snippets/talent/apiv4beta1/JobClient/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/talent/apiv4beta1/JobClient/SearchJobsForAlert/main.go b/internal/generated/snippets/talent/apiv4beta1/JobClient/SearchJobsForAlert/main.go index 29d609b5c814..79964a1516b4 100644 --- a/internal/generated/snippets/talent/apiv4beta1/JobClient/SearchJobsForAlert/main.go +++ b/internal/generated/snippets/talent/apiv4beta1/JobClient/SearchJobsForAlert/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.SearchJobsResponse) } } diff --git a/internal/generated/snippets/talent/apiv4beta1/TenantClient/ListTenants/main.go b/internal/generated/snippets/talent/apiv4beta1/TenantClient/ListTenants/main.go index 657e10e2604a..de3e865ce4fe 100644 --- a/internal/generated/snippets/talent/apiv4beta1/TenantClient/ListTenants/main.go +++ b/internal/generated/snippets/talent/apiv4beta1/TenantClient/ListTenants/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListTenantsResponse) } } diff --git a/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json b/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json index 950ff9e0f059..15437bc853e7 100644 --- a/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json +++ b/internal/generated/snippets/talent/apiv4beta1/snippet_metadata.google.cloud.talent.v4beta1.json @@ -235,7 +235,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -831,7 +831,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -923,7 +923,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1198,7 +1198,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprintRevisions/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprintRevisions/main.go index a2d3aceac7be..48dc1afb6356 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprintRevisions/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprintRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListBlueprintRevisionsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprints/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprints/main.go index 270c0f5cbadd..f0f099f925f4 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprints/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListBlueprints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListBlueprintsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeploymentRevisions/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeploymentRevisions/main.go index c46f90c0e5bd..470366600c27 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeploymentRevisions/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeploymentRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListDeploymentRevisionsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeployments/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeployments/main.go index 0283f1226fc9..edfdaaa16f12 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeployments/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListDeploymentsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListEdgeSlms/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListEdgeSlms/main.go index 6f4e1449e99e..45edeb5e1532 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListEdgeSlms/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListEdgeSlms/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListEdgeSlmsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListHydratedDeployments/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListHydratedDeployments/main.go index 1da9510bcc75..013fa8d826ad 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListHydratedDeployments/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListHydratedDeployments/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListHydratedDeploymentsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListLocations/main.go index 65a1bf1655c0..c67016b38e90 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListOperations/main.go index 93440329b38a..ab2ccac49dc9 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListOrchestrationClusters/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListOrchestrationClusters/main.go index 100265206cb9..cc3f9511fa9b 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListOrchestrationClusters/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListOrchestrationClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListOrchestrationClustersResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/ListPublicBlueprints/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/ListPublicBlueprints/main.go index e66ca30f115c..0f2ae26ceb48 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/ListPublicBlueprints/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/ListPublicBlueprints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListPublicBlueprintsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/SearchBlueprintRevisions/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/SearchBlueprintRevisions/main.go index 0c3599655a06..d05112366c7b 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/SearchBlueprintRevisions/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/SearchBlueprintRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.SearchBlueprintRevisionsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/Client/SearchDeploymentRevisions/main.go b/internal/generated/snippets/telcoautomation/apiv1/Client/SearchDeploymentRevisions/main.go index eeb24a445dbe..91d1202c3449 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/Client/SearchDeploymentRevisions/main.go +++ b/internal/generated/snippets/telcoautomation/apiv1/Client/SearchDeploymentRevisions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.SearchDeploymentRevisionsResponse) } } diff --git a/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json b/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json index 69391ae34b27..81903483d521 100644 --- a/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json +++ b/internal/generated/snippets/telcoautomation/apiv1/snippet_metadata.google.cloud.telcoautomation.v1.json @@ -1107,7 +1107,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1153,7 +1153,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1199,7 +1199,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1245,7 +1245,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1291,7 +1291,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1337,7 +1337,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1383,7 +1383,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1429,7 +1429,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1475,7 +1475,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1521,7 +1521,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1750,7 +1750,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1796,7 +1796,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/texttospeech/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/texttospeech/apiv1/Client/ListOperations/main.go index 61f6bf24d6d1..0370bdb0bb19 100644 --- a/internal/generated/snippets/texttospeech/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/texttospeech/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/texttospeech/apiv1/TextToSpeechLongAudioSynthesizeClient/ListOperations/main.go b/internal/generated/snippets/texttospeech/apiv1/TextToSpeechLongAudioSynthesizeClient/ListOperations/main.go index 79842f3aaf73..9c331006dfca 100644 --- a/internal/generated/snippets/texttospeech/apiv1/TextToSpeechLongAudioSynthesizeClient/ListOperations/main.go +++ b/internal/generated/snippets/texttospeech/apiv1/TextToSpeechLongAudioSynthesizeClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json b/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json index 294363833e16..f468d2d0bf68 100644 --- a/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json +++ b/internal/generated/snippets/texttospeech/apiv1/snippet_metadata.google.cloud.texttospeech.v1.json @@ -98,7 +98,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/tpu/apiv1/Client/ListAcceleratorTypes/main.go b/internal/generated/snippets/tpu/apiv1/Client/ListAcceleratorTypes/main.go index 761686e8f9b5..e969d94f0c2c 100644 --- a/internal/generated/snippets/tpu/apiv1/Client/ListAcceleratorTypes/main.go +++ b/internal/generated/snippets/tpu/apiv1/Client/ListAcceleratorTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tpupb.ListAcceleratorTypesResponse) } } diff --git a/internal/generated/snippets/tpu/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/tpu/apiv1/Client/ListLocations/main.go index ea7eac5f12f0..92d00be9f3c0 100644 --- a/internal/generated/snippets/tpu/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/tpu/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/tpu/apiv1/Client/ListNodes/main.go b/internal/generated/snippets/tpu/apiv1/Client/ListNodes/main.go index 10a30ce9f539..6cdda171e2d5 100644 --- a/internal/generated/snippets/tpu/apiv1/Client/ListNodes/main.go +++ b/internal/generated/snippets/tpu/apiv1/Client/ListNodes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tpupb.ListNodesResponse) } } diff --git a/internal/generated/snippets/tpu/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/tpu/apiv1/Client/ListOperations/main.go index db6377ead894..d293ece860a8 100644 --- a/internal/generated/snippets/tpu/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/tpu/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/tpu/apiv1/Client/ListTensorFlowVersions/main.go b/internal/generated/snippets/tpu/apiv1/Client/ListTensorFlowVersions/main.go index 3398a328321e..148a102abcd6 100644 --- a/internal/generated/snippets/tpu/apiv1/Client/ListTensorFlowVersions/main.go +++ b/internal/generated/snippets/tpu/apiv1/Client/ListTensorFlowVersions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tpupb.ListTensorFlowVersionsResponse) } } diff --git a/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json b/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json index bb3699101ce4..5f80f8acc2f3 100644 --- a/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json +++ b/internal/generated/snippets/tpu/apiv1/snippet_metadata.google.cloud.tpu.v1.json @@ -464,7 +464,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -510,7 +510,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -556,7 +556,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -602,7 +602,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -648,7 +648,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/trace/apiv1/Client/ListTraces/main.go b/internal/generated/snippets/trace/apiv1/Client/ListTraces/main.go index 07162c009164..690090666974 100644 --- a/internal/generated/snippets/trace/apiv1/Client/ListTraces/main.go +++ b/internal/generated/snippets/trace/apiv1/Client/ListTraces/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tracepb.ListTracesResponse) } } diff --git a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json index 303beef28060..77b0884c4644 100644 --- a/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json +++ b/internal/generated/snippets/trace/apiv1/snippet_metadata.google.devtools.cloudtrace.v1.json @@ -98,7 +98,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtDatasets/main.go b/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtDatasets/main.go index df3b34253adf..19789fbb7af5 100644 --- a/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtDatasets/main.go +++ b/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtDatasets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListAdaptiveMtDatasetsResponse) } } diff --git a/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtFiles/main.go b/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtFiles/main.go index 3554501b2a38..e6ea8daaa72d 100644 --- a/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtFiles/main.go +++ b/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtFiles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListAdaptiveMtFilesResponse) } } diff --git a/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtSentences/main.go b/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtSentences/main.go index 4c99b4da6b63..5d9053bb91c4 100644 --- a/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtSentences/main.go +++ b/internal/generated/snippets/translate/apiv3/TranslationClient/ListAdaptiveMtSentences/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListAdaptiveMtSentencesResponse) } } diff --git a/internal/generated/snippets/translate/apiv3/TranslationClient/ListGlossaries/main.go b/internal/generated/snippets/translate/apiv3/TranslationClient/ListGlossaries/main.go index a260ced6a559..cdeccf502cef 100644 --- a/internal/generated/snippets/translate/apiv3/TranslationClient/ListGlossaries/main.go +++ b/internal/generated/snippets/translate/apiv3/TranslationClient/ListGlossaries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListGlossariesResponse) } } diff --git a/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json b/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json index 607111b068fe..e3b7af530ce0 100644 --- a/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json +++ b/internal/generated/snippets/translate/apiv3/snippet_metadata.google.cloud.translation.v3.json @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/video/livestream/apiv1/Client/ListAssets/main.go b/internal/generated/snippets/video/livestream/apiv1/Client/ListAssets/main.go index e80bdeae5626..5d07f4c77fb4 100644 --- a/internal/generated/snippets/video/livestream/apiv1/Client/ListAssets/main.go +++ b/internal/generated/snippets/video/livestream/apiv1/Client/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/video/livestream/apiv1/Client/ListChannels/main.go b/internal/generated/snippets/video/livestream/apiv1/Client/ListChannels/main.go index dd56da57901f..566a720fb6eb 100644 --- a/internal/generated/snippets/video/livestream/apiv1/Client/ListChannels/main.go +++ b/internal/generated/snippets/video/livestream/apiv1/Client/ListChannels/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListChannelsResponse) } } diff --git a/internal/generated/snippets/video/livestream/apiv1/Client/ListEvents/main.go b/internal/generated/snippets/video/livestream/apiv1/Client/ListEvents/main.go index 2490a69254b1..e3b3f8f4da1e 100644 --- a/internal/generated/snippets/video/livestream/apiv1/Client/ListEvents/main.go +++ b/internal/generated/snippets/video/livestream/apiv1/Client/ListEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListEventsResponse) } } diff --git a/internal/generated/snippets/video/livestream/apiv1/Client/ListInputs/main.go b/internal/generated/snippets/video/livestream/apiv1/Client/ListInputs/main.go index a7b86418b356..305c26bf8ab7 100644 --- a/internal/generated/snippets/video/livestream/apiv1/Client/ListInputs/main.go +++ b/internal/generated/snippets/video/livestream/apiv1/Client/ListInputs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListInputsResponse) } } diff --git a/internal/generated/snippets/video/livestream/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/video/livestream/apiv1/Client/ListLocations/main.go index 4699646f5cc9..bb37d58ac824 100644 --- a/internal/generated/snippets/video/livestream/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/video/livestream/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/video/livestream/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/video/livestream/apiv1/Client/ListOperations/main.go index 732995c78cdb..870534c26c8b 100644 --- a/internal/generated/snippets/video/livestream/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/video/livestream/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json b/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json index 8a9228b9b97a..31ba146af715 100644 --- a/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json +++ b/internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json @@ -831,7 +831,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -877,7 +877,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -923,7 +923,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -969,7 +969,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1015,7 +1015,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1061,7 +1061,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListCdnKeys/main.go b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListCdnKeys/main.go index ba0093f2889a..1c78c79c90fc 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListCdnKeys/main.go +++ b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListCdnKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListCdnKeysResponse) } } diff --git a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveAdTagDetails/main.go b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveAdTagDetails/main.go index f19ccaa0522c..4af96c75d3d8 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveAdTagDetails/main.go +++ b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveAdTagDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListLiveAdTagDetailsResponse) } } diff --git a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveConfigs/main.go b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveConfigs/main.go index 3cb4c960e1c7..2031e4a3bdcc 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveConfigs/main.go +++ b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListLiveConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListLiveConfigsResponse) } } diff --git a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListOperations/main.go b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListOperations/main.go index cf0a93255700..ddc110c603e1 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListOperations/main.go +++ b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListSlates/main.go b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListSlates/main.go index 6a6058e48c90..37c8ee9a5dd5 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListSlates/main.go +++ b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListSlates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListSlatesResponse) } } diff --git a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodAdTagDetails/main.go b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodAdTagDetails/main.go index 58d4ce9d15a3..fa3648703527 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodAdTagDetails/main.go +++ b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodAdTagDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListVodAdTagDetailsResponse) } } diff --git a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodStitchDetails/main.go b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodStitchDetails/main.go index 21aeabf2adb8..65ccd5d0b0c6 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodStitchDetails/main.go +++ b/internal/generated/snippets/video/stitcher/apiv1/VideoStitcherClient/ListVodStitchDetails/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListVodStitchDetailsResponse) } } diff --git a/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json b/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json index 916fa7d390a8..614d0d36bc50 100644 --- a/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json +++ b/internal/generated/snippets/video/stitcher/apiv1/snippet_metadata.google.cloud.video.stitcher.v1.json @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1016,7 +1016,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1108,7 +1108,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1154,7 +1154,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1200,7 +1200,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobTemplates/main.go b/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobTemplates/main.go index fb7a885133af..9427c0dba5a6 100644 --- a/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobTemplates/main.go +++ b/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobTemplates/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*transcoderpb.ListJobTemplatesResponse) } } diff --git a/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobs/main.go b/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobs/main.go index 87b357d23dca..5489df20d287 100644 --- a/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobs/main.go +++ b/internal/generated/snippets/video/transcoder/apiv1/Client/ListJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*transcoderpb.ListJobsResponse) } } diff --git a/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json b/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json index 11f221c7855a..71acaaf6c8fc 100644 --- a/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json +++ b/internal/generated/snippets/video/transcoder/apiv1/snippet_metadata.google.cloud.video.transcoder.v1.json @@ -326,7 +326,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -372,7 +372,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductSets/main.go b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductSets/main.go index 7cc9d08a1745..25b57e4186b2 100644 --- a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductSets/main.go +++ b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductSets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListProductSetsResponse) } } diff --git a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProducts/main.go b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProducts/main.go index 4ee501ae6135..fc53994a6d74 100644 --- a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProducts/main.go +++ b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProducts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListProductsResponse) } } diff --git a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductsInProductSet/main.go b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductsInProductSet/main.go index 7cf6c74dfeb3..95f2e4b80c66 100644 --- a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductsInProductSet/main.go +++ b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListProductsInProductSet/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListProductsInProductSetResponse) } } diff --git a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListReferenceImages/main.go b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListReferenceImages/main.go index 349ced6cb40c..882464c004d3 100644 --- a/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListReferenceImages/main.go +++ b/internal/generated/snippets/vision/apiv1/ProductSearchClient/ListReferenceImages/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListReferenceImagesResponse) } } diff --git a/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json b/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json index e861c4905bd6..372c3ac5fee6 100644 --- a/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json +++ b/internal/generated/snippets/vision/apiv1/snippet_metadata.google.cloud.vision.v1.json @@ -830,7 +830,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -876,7 +876,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -922,7 +922,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -968,7 +968,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListApplications/main.go b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListApplications/main.go index c73c234331e5..43fe690a8c8b 100644 --- a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListApplications/main.go +++ b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListApplications/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListApplicationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListDrafts/main.go b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListDrafts/main.go index 1883cc8eb8f6..6408920ba659 100644 --- a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListDrafts/main.go +++ b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListDrafts/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListDraftsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListInstances/main.go b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListInstances/main.go index 8899e1953451..c25fe1d526d1 100644 --- a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListInstances/main.go +++ b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListInstances/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListInstancesResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListOperations/main.go b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListOperations/main.go index 00dc1a9f876c..ce77dae99ed6 100644 --- a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListOperations/main.go +++ b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListProcessors/main.go b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListProcessors/main.go index 384be3dc65a6..0c337083320d 100644 --- a/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListProcessors/main.go +++ b/internal/generated/snippets/visionai/apiv1/AppPlatformClient/ListProcessors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListProcessorsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/HealthCheckClient/ListOperations/main.go b/internal/generated/snippets/visionai/apiv1/HealthCheckClient/ListOperations/main.go index 87cda220a31d..23d2650582f1 100644 --- a/internal/generated/snippets/visionai/apiv1/HealthCheckClient/ListOperations/main.go +++ b/internal/generated/snippets/visionai/apiv1/HealthCheckClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListAnalyses/main.go b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListAnalyses/main.go index 0b93560d3f4d..069319a89f10 100644 --- a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListAnalyses/main.go +++ b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListAnalyses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListAnalysesResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperations/main.go b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperations/main.go index 46ff030d529b..78ec45a664e9 100644 --- a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperations/main.go +++ b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperators/main.go b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperators/main.go index 2b05615a6c1e..4fc8c0b423f8 100644 --- a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperators/main.go +++ b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListOperators/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListOperatorsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListProcesses/main.go b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListProcesses/main.go index 78cc562908c4..a705a87d899a 100644 --- a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListProcesses/main.go +++ b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListProcesses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListProcessesResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListPublicOperators/main.go b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListPublicOperators/main.go index 76e481d4ada7..232960a191c9 100644 --- a/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListPublicOperators/main.go +++ b/internal/generated/snippets/visionai/apiv1/LiveVideoAnalyticsClient/ListPublicOperators/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListPublicOperatorsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/StreamingClient/ListOperations/main.go b/internal/generated/snippets/visionai/apiv1/StreamingClient/ListOperations/main.go index 3c16319d9643..40d0c51dd179 100644 --- a/internal/generated/snippets/visionai/apiv1/StreamingClient/ListOperations/main.go +++ b/internal/generated/snippets/visionai/apiv1/StreamingClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListClusters/main.go b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListClusters/main.go index 161eb8933f0c..ca688471f3cb 100644 --- a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListClusters/main.go +++ b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListClustersResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListEvents/main.go b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListEvents/main.go index a6ae3f79b552..680debead673 100644 --- a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListEvents/main.go +++ b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListEvents/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListEventsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListOperations/main.go b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListOperations/main.go index 3d6ffa2debbc..e7860e0557ca 100644 --- a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListOperations/main.go +++ b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListSeries/main.go b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListSeries/main.go index 0085050848cd..644d6754bb5d 100644 --- a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListSeries/main.go +++ b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListSeries/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListSeriesResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListStreams/main.go b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListStreams/main.go index d193d8153708..f0fca326fb87 100644 --- a/internal/generated/snippets/visionai/apiv1/StreamsClient/ListStreams/main.go +++ b/internal/generated/snippets/visionai/apiv1/StreamsClient/ListStreams/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListStreamsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAnnotations/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAnnotations/main.go index c3841721e58e..8b484af3bf6d 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAnnotations/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAnnotations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListAnnotationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAssets/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAssets/main.go index b189dd4679b5..b0b1972ae58a 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAssets/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListAssetsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCollections/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCollections/main.go index 2e9db07d09df..a9f01b22aba0 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCollections/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCollections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListCollectionsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCorpora/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCorpora/main.go index faf3552fc883..113409f3396f 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCorpora/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListCorpora/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListCorporaResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListDataSchemas/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListDataSchemas/main.go index 32d2ed8acc41..d5078f7a7a00 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListDataSchemas/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListDataSchemas/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListDataSchemasResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexEndpoints/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexEndpoints/main.go index 08e3ac2a1ae7..43cfd8aec079 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexEndpoints/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexEndpoints/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListIndexEndpointsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexes/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexes/main.go index dbb7f331fe1a..7f7c4d72cae9 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexes/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListIndexes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListIndexesResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListOperations/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListOperations/main.go index 99788f7274ed..11c06a5b9b13 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListOperations/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchConfigs/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchConfigs/main.go index 9fcf231daa8f..4800e4a0bd98 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchConfigs/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListSearchConfigsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchHypernyms/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchHypernyms/main.go index 5ef32167948f..723a56b55ca0 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchHypernyms/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ListSearchHypernyms/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListSearchHypernymsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchAssets/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchAssets/main.go index 333274f09491..ef823acba391 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchAssets/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.SearchAssetsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchIndexEndpoint/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchIndexEndpoint/main.go index f9f85446333f..eb9d747b3c70 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchIndexEndpoint/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/SearchIndexEndpoint/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.SearchIndexEndpointResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewCollectionItems/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewCollectionItems/main.go index aab326d453cc..b625a37089e2 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewCollectionItems/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewCollectionItems/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ViewCollectionItemsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewIndexedAssets/main.go b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewIndexedAssets/main.go index d4f84da26533..d7f02b5f8519 100644 --- a/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewIndexedAssets/main.go +++ b/internal/generated/snippets/visionai/apiv1/WarehouseClient/ViewIndexedAssets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ViewIndexedAssetsResponse) } } diff --git a/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json b/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json index 537925b94ab2..85efabcdf2a9 100644 --- a/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json +++ b/internal/generated/snippets/visionai/apiv1/snippet_metadata.google.cloud.visionai.v1.json @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -970,7 +970,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1062,7 +1062,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1612,7 +1612,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2254,7 +2254,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2300,7 +2300,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2346,7 +2346,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2392,7 +2392,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2438,7 +2438,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2850,7 +2850,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3894,7 +3894,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3940,7 +3940,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -3986,7 +3986,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4032,7 +4032,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -4078,7 +4078,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6183,7 +6183,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6229,7 +6229,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6275,7 +6275,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6321,7 +6321,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6367,7 +6367,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6413,7 +6413,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6459,7 +6459,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6505,7 +6505,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6551,7 +6551,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6597,7 +6597,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6735,7 +6735,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -6781,7 +6781,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7333,7 +7333,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -7379,7 +7379,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListCloneJobs/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListCloneJobs/main.go index 85dd8bca2051..a4169a8b3ec9 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListCloneJobs/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListCloneJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListCloneJobsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListCutoverJobs/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListCutoverJobs/main.go index ddb5f0f92b41..712512331317 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListCutoverJobs/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListCutoverJobs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListCutoverJobsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListDatacenterConnectors/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListDatacenterConnectors/main.go index e373363ad4d8..4ba568cd5c4f 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListDatacenterConnectors/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListDatacenterConnectors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListDatacenterConnectorsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListGroups/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListGroups/main.go index 66bd83344665..abf0e7f11c25 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListGroups/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListGroups/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListGroupsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListLocations/main.go index b1f37ef11f47..726c7b748296 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListMigratingVms/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListMigratingVms/main.go index 1e68381e3c2f..a603479c1685 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListMigratingVms/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListMigratingVms/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListMigratingVmsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListOperations/main.go index 3e585485d575..5b0d7828fe37 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListReplicationCycles/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListReplicationCycles/main.go index e85038380efb..bcbfb16ed6f5 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListReplicationCycles/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListReplicationCycles/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListReplicationCyclesResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListSources/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListSources/main.go index bb5bc2ad9bc8..aa298f26a64a 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListSources/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListSources/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListSourcesResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListTargetProjects/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListTargetProjects/main.go index 0558603735b1..d720754cee14 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListTargetProjects/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListTargetProjects/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListTargetProjectsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/Client/ListUtilizationReports/main.go b/internal/generated/snippets/vmmigration/apiv1/Client/ListUtilizationReports/main.go index 7f7167103f72..9ad02725d56c 100644 --- a/internal/generated/snippets/vmmigration/apiv1/Client/ListUtilizationReports/main.go +++ b/internal/generated/snippets/vmmigration/apiv1/Client/ListUtilizationReports/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListUtilizationReportsResponse) } } diff --git a/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json b/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json index a69237ea4404..84552e732a61 100644 --- a/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json +++ b/internal/generated/snippets/vmmigration/apiv1/snippet_metadata.google.cloud.vmmigration.v1.json @@ -1522,7 +1522,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1568,7 +1568,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1614,7 +1614,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1660,7 +1660,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1706,7 +1706,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1752,7 +1752,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1798,7 +1798,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1844,7 +1844,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1890,7 +1890,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1936,7 +1936,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -1982,7 +1982,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/FetchNetworkPolicyExternalAddresses/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/FetchNetworkPolicyExternalAddresses/main.go index f3a4a345b230..7c78ebc9a0d5 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/FetchNetworkPolicyExternalAddresses/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/FetchNetworkPolicyExternalAddresses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.FetchNetworkPolicyExternalAddressesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListClusters/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListClusters/main.go index a6717689e638..c2d48ac39992 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListClusters/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListClustersResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAccessRules/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAccessRules/main.go index 87bd35492b60..01e238f90c2c 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAccessRules/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAccessRules/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListExternalAccessRulesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAddresses/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAddresses/main.go index a430bd3b3eac..de3586cf8e8d 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAddresses/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListExternalAddresses/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListExternalAddressesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListHcxActivationKeys/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListHcxActivationKeys/main.go index 1ffc32cbca30..b6bc836154ee 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListHcxActivationKeys/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListHcxActivationKeys/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListHcxActivationKeysResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListLocations/main.go index 1ed4d3a7923f..e740debae9dc 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListLoggingServers/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListLoggingServers/main.go index 3739b65e79f4..47c01713d0a2 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListLoggingServers/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListLoggingServers/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListLoggingServersResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListManagementDnsZoneBindings/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListManagementDnsZoneBindings/main.go index ee2b3afa909c..bd4a076102e3 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListManagementDnsZoneBindings/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListManagementDnsZoneBindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListManagementDnsZoneBindingsResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPeerings/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPeerings/main.go index 78d0e375c637..3c9565b14b60 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPeerings/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPeerings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNetworkPeeringsResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPolicies/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPolicies/main.go index 414fbabdfe27..f2608a6f91bd 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPolicies/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNetworkPolicies/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNetworkPoliciesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodeTypes/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodeTypes/main.go index 749d6c58ab5f..f4688643e912 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodeTypes/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodeTypes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNodeTypesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodes/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodes/main.go index 7ae1c8ffa8bc..9d8b7d238303 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodes/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListNodes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNodesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListOperations/main.go index 0b5bc8d001e3..a083ea445431 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPeeringRoutes/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPeeringRoutes/main.go index d6ad6380ef58..c67fdd3aa21d 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPeeringRoutes/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPeeringRoutes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPeeringRoutesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateClouds/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateClouds/main.go index b71e6c455feb..5e93da06b935 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateClouds/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateClouds/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPrivateCloudsResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnectionPeeringRoutes/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnectionPeeringRoutes/main.go index 32e1cbca3a90..c7549f06d001 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnectionPeeringRoutes/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnectionPeeringRoutes/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPrivateConnectionPeeringRoutesResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnections/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnections/main.go index bce099a8b00f..43d903c8505c 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnections/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListPrivateConnections/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPrivateConnectionsResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListSubnets/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListSubnets/main.go index 5c5859e06dc9..aa85bfc104bb 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListSubnets/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListSubnets/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListSubnetsResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/Client/ListVmwareEngineNetworks/main.go b/internal/generated/snippets/vmwareengine/apiv1/Client/ListVmwareEngineNetworks/main.go index 0f90cc10275a..18ba2bfccf57 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/Client/ListVmwareEngineNetworks/main.go +++ b/internal/generated/snippets/vmwareengine/apiv1/Client/ListVmwareEngineNetworks/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListVmwareEngineNetworksResponse) } } diff --git a/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json b/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json index 5fb512cd0fab..629ebc2d43d3 100644 --- a/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json +++ b/internal/generated/snippets/vmwareengine/apiv1/snippet_metadata.google.cloud.vmwareengine.v1.json @@ -1063,7 +1063,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2029,7 +2029,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2075,7 +2075,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2121,7 +2121,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2167,7 +2167,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2213,7 +2213,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2259,7 +2259,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2305,7 +2305,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2351,7 +2351,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2397,7 +2397,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2443,7 +2443,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2489,7 +2489,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2535,7 +2535,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2581,7 +2581,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2627,7 +2627,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2673,7 +2673,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2719,7 +2719,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2765,7 +2765,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -2811,7 +2811,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/vpcaccess/apiv1/Client/ListConnectors/main.go b/internal/generated/snippets/vpcaccess/apiv1/Client/ListConnectors/main.go index 4c8b3e019534..f11f4edaaa22 100644 --- a/internal/generated/snippets/vpcaccess/apiv1/Client/ListConnectors/main.go +++ b/internal/generated/snippets/vpcaccess/apiv1/Client/ListConnectors/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vpcaccesspb.ListConnectorsResponse) } } diff --git a/internal/generated/snippets/vpcaccess/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/vpcaccess/apiv1/Client/ListLocations/main.go index f2acbf185c33..22a84eb8827b 100644 --- a/internal/generated/snippets/vpcaccess/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/vpcaccess/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/vpcaccess/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/vpcaccess/apiv1/Client/ListOperations/main.go index 8bfc48b81090..2066d2d0d406 100644 --- a/internal/generated/snippets/vpcaccess/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/vpcaccess/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json b/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json index d87139e7e5e9..6b2fd218f2cd 100644 --- a/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json +++ b/internal/generated/snippets/vpcaccess/apiv1/snippet_metadata.google.cloud.vpcaccess.v1.json @@ -236,7 +236,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -282,7 +282,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -328,7 +328,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/webrisk/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/webrisk/apiv1/Client/ListOperations/main.go index 7e8aef7de99c..89aa7a04de4a 100644 --- a/internal/generated/snippets/webrisk/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/webrisk/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json b/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json index 68dfe461553a..2245067b4993 100644 --- a/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json +++ b/internal/generated/snippets/webrisk/apiv1/snippet_metadata.google.cloud.webrisk.v1.json @@ -280,7 +280,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListCrawledUrls/main.go b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListCrawledUrls/main.go index eefe6434ecb0..70bbde8c0ab8 100644 --- a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListCrawledUrls/main.go +++ b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListCrawledUrls/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListCrawledUrlsResponse) } } diff --git a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListFindings/main.go b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListFindings/main.go index 28f2dfa150fe..a0752c802487 100644 --- a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListFindings/main.go +++ b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListFindings/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListFindingsResponse) } } diff --git a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanConfigs/main.go b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanConfigs/main.go index acb340362fab..503caade4838 100644 --- a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanConfigs/main.go +++ b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListScanConfigsResponse) } } diff --git a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanRuns/main.go b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanRuns/main.go index 581b750aa34e..5b75d9ebd64e 100644 --- a/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanRuns/main.go +++ b/internal/generated/snippets/websecurityscanner/apiv1/Client/ListScanRuns/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListScanRunsResponse) } } diff --git a/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json b/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json index cd5b92c5d4f5..ee1c7c3acf82 100644 --- a/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json +++ b/internal/generated/snippets/websecurityscanner/apiv1/snippet_metadata.google.cloud.websecurityscanner.v1.json @@ -281,7 +281,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -419,7 +419,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -465,7 +465,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/workflows/apiv1/Client/ListLocations/main.go b/internal/generated/snippets/workflows/apiv1/Client/ListLocations/main.go index 99e7c75f0c14..9bb46599ff5e 100644 --- a/internal/generated/snippets/workflows/apiv1/Client/ListLocations/main.go +++ b/internal/generated/snippets/workflows/apiv1/Client/ListLocations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/internal/generated/snippets/workflows/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/workflows/apiv1/Client/ListOperations/main.go index 68ed6540d955..9b84fb5bfd02 100644 --- a/internal/generated/snippets/workflows/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/workflows/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/workflows/apiv1/Client/ListWorkflows/main.go b/internal/generated/snippets/workflows/apiv1/Client/ListWorkflows/main.go index 3dadf28aec87..655d4514b4e3 100644 --- a/internal/generated/snippets/workflows/apiv1/Client/ListWorkflows/main.go +++ b/internal/generated/snippets/workflows/apiv1/Client/ListWorkflows/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workflowspb.ListWorkflowsResponse) } } diff --git a/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json b/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json index 32ed18fe7e37..0690c0590637 100644 --- a/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json +++ b/internal/generated/snippets/workflows/apiv1/snippet_metadata.google.cloud.workflows.v1.json @@ -327,7 +327,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -373,7 +373,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -419,7 +419,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/workflows/apiv1beta/Client/ListWorkflows/main.go b/internal/generated/snippets/workflows/apiv1beta/Client/ListWorkflows/main.go index dcaf3216e94f..169a70c7350f 100644 --- a/internal/generated/snippets/workflows/apiv1beta/Client/ListWorkflows/main.go +++ b/internal/generated/snippets/workflows/apiv1beta/Client/ListWorkflows/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workflowspb.ListWorkflowsResponse) } } diff --git a/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json b/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json index 9e5bd874c888..fd2030928138 100644 --- a/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json +++ b/internal/generated/snippets/workflows/apiv1beta/snippet_metadata.google.cloud.workflows.v1beta.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/workflows/executions/apiv1/Client/ListExecutions/main.go b/internal/generated/snippets/workflows/executions/apiv1/Client/ListExecutions/main.go index f6f841c36c77..0bba6741e29b 100644 --- a/internal/generated/snippets/workflows/executions/apiv1/Client/ListExecutions/main.go +++ b/internal/generated/snippets/workflows/executions/apiv1/Client/ListExecutions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*executionspb.ListExecutionsResponse) } } diff --git a/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json b/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json index c8e0806a13c5..639897b663a8 100644 --- a/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json +++ b/internal/generated/snippets/workflows/executions/apiv1/snippet_metadata.google.cloud.workflows.executions.v1.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/workflows/executions/apiv1beta/Client/ListExecutions/main.go b/internal/generated/snippets/workflows/executions/apiv1beta/Client/ListExecutions/main.go index d25b33613583..d8e917dcefc4 100644 --- a/internal/generated/snippets/workflows/executions/apiv1beta/Client/ListExecutions/main.go +++ b/internal/generated/snippets/workflows/executions/apiv1beta/Client/ListExecutions/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*executionspb.ListExecutionsResponse) } } diff --git a/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json b/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json index 6c8e6b9b28b9..78e9a9f0ae5a 100644 --- a/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json +++ b/internal/generated/snippets/workflows/executions/apiv1beta/snippet_metadata.google.cloud.workflows.executions.v1beta.json @@ -190,7 +190,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/workstations/apiv1/Client/ListOperations/main.go b/internal/generated/snippets/workstations/apiv1/Client/ListOperations/main.go index 36b3d8fb356a..069acc44e622 100644 --- a/internal/generated/snippets/workstations/apiv1/Client/ListOperations/main.go +++ b/internal/generated/snippets/workstations/apiv1/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstationConfigs/main.go b/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstationConfigs/main.go index 5ec5f2ce8175..63f9e9b8b482 100644 --- a/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstationConfigs/main.go +++ b/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstationConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationConfigsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstations/main.go b/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstations/main.go index c20749ea4235..34d2236a132a 100644 --- a/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstations/main.go +++ b/internal/generated/snippets/workstations/apiv1/Client/ListUsableWorkstations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationClusters/main.go b/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationClusters/main.go index e77c89447c3c..62c61ec47647 100644 --- a/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationClusters/main.go +++ b/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationClustersResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationConfigs/main.go b/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationConfigs/main.go index 1afc39f1d323..c9fca89b69a7 100644 --- a/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationConfigs/main.go +++ b/internal/generated/snippets/workstations/apiv1/Client/ListWorkstationConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationConfigsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1/Client/ListWorkstations/main.go b/internal/generated/snippets/workstations/apiv1/Client/ListWorkstations/main.go index cfd9b6476873..6a5f1759333b 100644 --- a/internal/generated/snippets/workstations/apiv1/Client/ListWorkstations/main.go +++ b/internal/generated/snippets/workstations/apiv1/Client/ListWorkstations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json b/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json index 14e8e24b348d..7ddac4a9b39f 100644 --- a/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json +++ b/internal/generated/snippets/workstations/apiv1/snippet_metadata.google.cloud.workstations.v1.json @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/internal/generated/snippets/workstations/apiv1beta/Client/ListOperations/main.go b/internal/generated/snippets/workstations/apiv1beta/Client/ListOperations/main.go index a20879957d69..8226186db5df 100644 --- a/internal/generated/snippets/workstations/apiv1beta/Client/ListOperations/main.go +++ b/internal/generated/snippets/workstations/apiv1beta/Client/ListOperations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstationConfigs/main.go b/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstationConfigs/main.go index 197aab174630..e3b14cd02f13 100644 --- a/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstationConfigs/main.go +++ b/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstationConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationConfigsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstations/main.go b/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstations/main.go index 858d90a5a098..a8bcc5939fb5 100644 --- a/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstations/main.go +++ b/internal/generated/snippets/workstations/apiv1beta/Client/ListUsableWorkstations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationClusters/main.go b/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationClusters/main.go index 3b3de143f0f5..59b297265f25 100644 --- a/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationClusters/main.go +++ b/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationClusters/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationClustersResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationConfigs/main.go b/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationConfigs/main.go index fbe2daccaca3..48275f32544e 100644 --- a/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationConfigs/main.go +++ b/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstationConfigs/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationConfigsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstations/main.go b/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstations/main.go index bf35d3444b93..77200513de62 100644 --- a/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstations/main.go +++ b/internal/generated/snippets/workstations/apiv1beta/Client/ListWorkstations/main.go @@ -54,6 +54,12 @@ func main() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationsResponse) } } diff --git a/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json b/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json index 70e9171dac52..8218bc9712ff 100644 --- a/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json +++ b/internal/generated/snippets/workstations/apiv1beta/snippet_metadata.google.cloud.workstations.v1beta.json @@ -694,7 +694,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -740,7 +740,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -786,7 +786,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -832,7 +832,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -878,7 +878,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] @@ -924,7 +924,7 @@ "segments": [ { "start": 18, - "end": 60, + "end": 66, "type": "FULL" } ] diff --git a/iot/apiv1/device_manager_client_example_test.go b/iot/apiv1/device_manager_client_example_test.go index 38baa930b976..dc12c020902f 100644 --- a/iot/apiv1/device_manager_client_example_test.go +++ b/iot/apiv1/device_manager_client_example_test.go @@ -308,6 +308,12 @@ func ExampleDeviceManagerClient_ListDeviceRegistries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iotpb.ListDeviceRegistriesResponse) } } @@ -364,6 +370,12 @@ func ExampleDeviceManagerClient_ListDevices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*iotpb.ListDevicesResponse) } } diff --git a/kms/apiv1/ekm_client_example_test.go b/kms/apiv1/ekm_client_example_test.go index 5c4cd60ba421..f8751f161913 100644 --- a/kms/apiv1/ekm_client_example_test.go +++ b/kms/apiv1/ekm_client_example_test.go @@ -163,6 +163,12 @@ func ExampleEkmClient_ListEkmConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListEkmConnectionsResponse) } } @@ -294,6 +300,12 @@ func ExampleEkmClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/kms/apiv1/key_management_client_example_test.go b/kms/apiv1/key_management_client_example_test.go index c3ea06c313f3..0abe421f7d92 100644 --- a/kms/apiv1/key_management_client_example_test.go +++ b/kms/apiv1/key_management_client_example_test.go @@ -488,6 +488,12 @@ func ExampleKeyManagementClient_ListCryptoKeyVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListCryptoKeyVersionsResponse) } } @@ -519,6 +525,12 @@ func ExampleKeyManagementClient_ListCryptoKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListCryptoKeysResponse) } } @@ -550,6 +562,12 @@ func ExampleKeyManagementClient_ListImportJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListImportJobsResponse) } } @@ -581,6 +599,12 @@ func ExampleKeyManagementClient_ListKeyRings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*kmspb.ListKeyRingsResponse) } } @@ -837,6 +861,12 @@ func ExampleKeyManagementClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/kms/inventory/apiv1/doc.go b/kms/inventory/apiv1/doc.go index a3c156e8e407..00c3f90e6dde 100755 --- a/kms/inventory/apiv1/doc.go +++ b/kms/inventory/apiv1/doc.go @@ -80,6 +80,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*inventorypb.ListCryptoKeysResponse) // } // // # Use of Context diff --git a/kms/inventory/apiv1/key_dashboard_client_example_test.go b/kms/inventory/apiv1/key_dashboard_client_example_test.go index 32bfe94caaa0..760333d0dada 100644 --- a/kms/inventory/apiv1/key_dashboard_client_example_test.go +++ b/kms/inventory/apiv1/key_dashboard_client_example_test.go @@ -86,5 +86,11 @@ func ExampleKeyDashboardClient_ListCryptoKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventorypb.ListCryptoKeysResponse) } } diff --git a/kms/inventory/apiv1/key_tracking_client_example_test.go b/kms/inventory/apiv1/key_tracking_client_example_test.go index e54898ace763..7647bb920939 100644 --- a/kms/inventory/apiv1/key_tracking_client_example_test.go +++ b/kms/inventory/apiv1/key_tracking_client_example_test.go @@ -111,5 +111,11 @@ func ExampleKeyTrackingClient_SearchProtectedResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventorypb.SearchProtectedResourcesResponse) } } diff --git a/lifesciences/apiv2beta/workflows_service_v2_beta_client_example_test.go b/lifesciences/apiv2beta/workflows_service_v2_beta_client_example_test.go index 406c41167f44..981c26337590 100644 --- a/lifesciences/apiv2beta/workflows_service_v2_beta_client_example_test.go +++ b/lifesciences/apiv2beta/workflows_service_v2_beta_client_example_test.go @@ -143,6 +143,12 @@ func ExampleWorkflowsServiceV2BetaClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -222,5 +228,11 @@ func ExampleWorkflowsServiceV2BetaClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/logging/apiv2/config_client_example_test.go b/logging/apiv2/config_client_example_test.go index 95443d286fa5..82fb74914e57 100644 --- a/logging/apiv2/config_client_example_test.go +++ b/logging/apiv2/config_client_example_test.go @@ -555,6 +555,12 @@ func ExampleConfigClient_ListBuckets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListBucketsResponse) } } @@ -586,6 +592,12 @@ func ExampleConfigClient_ListExclusions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListExclusionsResponse) } } @@ -617,6 +629,12 @@ func ExampleConfigClient_ListLinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLinksResponse) } } @@ -648,6 +666,12 @@ func ExampleConfigClient_ListSinks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListSinksResponse) } } @@ -679,6 +703,12 @@ func ExampleConfigClient_ListViews() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListViewsResponse) } } @@ -961,5 +991,11 @@ func ExampleConfigClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/logging/apiv2/logging_client_example_test.go b/logging/apiv2/logging_client_example_test.go index f587afa4ab03..3f7a3b641af7 100644 --- a/logging/apiv2/logging_client_example_test.go +++ b/logging/apiv2/logging_client_example_test.go @@ -94,6 +94,12 @@ func ExampleClient_ListLogEntries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLogEntriesResponse) } } @@ -125,6 +131,12 @@ func ExampleClient_ListLogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLogsResponse) } } @@ -156,6 +168,12 @@ func ExampleClient_ListMonitoredResourceDescriptors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListMonitoredResourceDescriptorsResponse) } } @@ -300,5 +318,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/logging/apiv2/metrics_client_example_test.go b/logging/apiv2/metrics_client_example_test.go index 4e28df213c9e..b54111a177c2 100644 --- a/logging/apiv2/metrics_client_example_test.go +++ b/logging/apiv2/metrics_client_example_test.go @@ -143,6 +143,12 @@ func ExampleMetricsClient_ListLogMetrics() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*loggingpb.ListLogMetricsResponse) } } @@ -247,5 +253,11 @@ func ExampleMetricsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/longrunning/autogen/operations_client_example_test.go b/longrunning/autogen/operations_client_example_test.go index 8d2fb5506541..2e68ca34802c 100644 --- a/longrunning/autogen/operations_client_example_test.go +++ b/longrunning/autogen/operations_client_example_test.go @@ -157,6 +157,12 @@ func ExampleOperationsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/managedidentities/apiv1/managed_identities_client_example_test.go b/managedidentities/apiv1/managed_identities_client_example_test.go index 0b7c62cc3124..862211d576a6 100644 --- a/managedidentities/apiv1/managed_identities_client_example_test.go +++ b/managedidentities/apiv1/managed_identities_client_example_test.go @@ -212,6 +212,12 @@ func ExampleClient_ListDomains() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*managedidentitiespb.ListDomainsResponse) } } diff --git a/maps/fleetengine/apiv1/trip_client_example_test.go b/maps/fleetengine/apiv1/trip_client_example_test.go index ea8a887b385b..bf51d28dfca3 100644 --- a/maps/fleetengine/apiv1/trip_client_example_test.go +++ b/maps/fleetengine/apiv1/trip_client_example_test.go @@ -142,6 +142,12 @@ func ExampleTripClient_SearchTrips() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*fleetenginepb.SearchTripsResponse) } } diff --git a/maps/fleetengine/apiv1/vehicle_client_example_test.go b/maps/fleetengine/apiv1/vehicle_client_example_test.go index 6d54499b741f..836ff0745d55 100644 --- a/maps/fleetengine/apiv1/vehicle_client_example_test.go +++ b/maps/fleetengine/apiv1/vehicle_client_example_test.go @@ -119,6 +119,12 @@ func ExampleVehicleClient_ListVehicles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*fleetenginepb.ListVehiclesResponse) } } diff --git a/maps/fleetengine/delivery/apiv1/delivery_client_example_test.go b/maps/fleetengine/delivery/apiv1/delivery_client_example_test.go index 870728ccc774..8325acf1340b 100644 --- a/maps/fleetengine/delivery/apiv1/delivery_client_example_test.go +++ b/maps/fleetengine/delivery/apiv1/delivery_client_example_test.go @@ -236,6 +236,12 @@ func ExampleClient_ListDeliveryVehicles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deliverypb.ListDeliveryVehiclesResponse) } } @@ -267,6 +273,12 @@ func ExampleClient_ListTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deliverypb.ListTasksResponse) } } @@ -298,6 +310,12 @@ func ExampleClient_SearchTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*deliverypb.SearchTasksResponse) } } diff --git a/maps/mapsplatformdatasets/apiv1alpha/maps_platform_datasets_v1_alpha_client_example_test.go b/maps/mapsplatformdatasets/apiv1alpha/maps_platform_datasets_v1_alpha_client_example_test.go index 3b60e1e15222..0244f3183f1f 100644 --- a/maps/mapsplatformdatasets/apiv1alpha/maps_platform_datasets_v1_alpha_client_example_test.go +++ b/maps/mapsplatformdatasets/apiv1alpha/maps_platform_datasets_v1_alpha_client_example_test.go @@ -182,6 +182,12 @@ func ExampleMapsPlatformDatasetsV1AlphaClient_ListDatasetVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*mapsplatformdatasetspb.ListDatasetVersionsResponse) } } @@ -213,6 +219,12 @@ func ExampleMapsPlatformDatasetsV1AlphaClient_ListDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*mapsplatformdatasetspb.ListDatasetsResponse) } } diff --git a/memcache/apiv1/cloud_memcache_client_example_test.go b/memcache/apiv1/cloud_memcache_client_example_test.go index f74629a5ec1b..248b926299cc 100644 --- a/memcache/apiv1/cloud_memcache_client_example_test.go +++ b/memcache/apiv1/cloud_memcache_client_example_test.go @@ -201,6 +201,12 @@ func ExampleCloudMemcacheClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*memcachepb.ListInstancesResponse) } } @@ -347,6 +353,12 @@ func ExampleCloudMemcacheClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -449,5 +461,11 @@ func ExampleCloudMemcacheClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/memcache/apiv1beta2/cloud_memcache_client_example_test.go b/memcache/apiv1beta2/cloud_memcache_client_example_test.go index eb812de00335..9b8696cd2310 100644 --- a/memcache/apiv1beta2/cloud_memcache_client_example_test.go +++ b/memcache/apiv1beta2/cloud_memcache_client_example_test.go @@ -231,6 +231,12 @@ func ExampleCloudMemcacheClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*memcachepb.ListInstancesResponse) } } @@ -377,6 +383,12 @@ func ExampleCloudMemcacheClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -479,5 +491,11 @@ func ExampleCloudMemcacheClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/metastore/apiv1/dataproc_metastore_client_example_test.go b/metastore/apiv1/dataproc_metastore_client_example_test.go index 095a959406ca..5c927aa20cb2 100644 --- a/metastore/apiv1/dataproc_metastore_client_example_test.go +++ b/metastore/apiv1/dataproc_metastore_client_example_test.go @@ -370,6 +370,12 @@ func ExampleDataprocMetastoreClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListBackupsResponse) } } @@ -401,6 +407,12 @@ func ExampleDataprocMetastoreClient_ListMetadataImports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListMetadataImportsResponse) } } @@ -432,6 +444,12 @@ func ExampleDataprocMetastoreClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListServicesResponse) } } @@ -638,6 +656,12 @@ func ExampleDataprocMetastoreClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -815,5 +839,11 @@ func ExampleDataprocMetastoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/metastore/apiv1/dataproc_metastore_federation_client_example_test.go b/metastore/apiv1/dataproc_metastore_federation_client_example_test.go index 3eb17c7d8379..129e4ca6d5b9 100644 --- a/metastore/apiv1/dataproc_metastore_federation_client_example_test.go +++ b/metastore/apiv1/dataproc_metastore_federation_client_example_test.go @@ -172,6 +172,12 @@ func ExampleDataprocMetastoreFederationClient_ListFederations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListFederationsResponse) } } @@ -258,6 +264,12 @@ func ExampleDataprocMetastoreFederationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -435,5 +447,11 @@ func ExampleDataprocMetastoreFederationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/metastore/apiv1alpha/dataproc_metastore_client_example_test.go b/metastore/apiv1alpha/dataproc_metastore_client_example_test.go index f924da4822f9..670bfb80e58f 100644 --- a/metastore/apiv1alpha/dataproc_metastore_client_example_test.go +++ b/metastore/apiv1alpha/dataproc_metastore_client_example_test.go @@ -370,6 +370,12 @@ func ExampleDataprocMetastoreClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListBackupsResponse) } } @@ -401,6 +407,12 @@ func ExampleDataprocMetastoreClient_ListMetadataImports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListMetadataImportsResponse) } } @@ -432,6 +444,12 @@ func ExampleDataprocMetastoreClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListServicesResponse) } } @@ -663,6 +681,12 @@ func ExampleDataprocMetastoreClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -840,5 +864,11 @@ func ExampleDataprocMetastoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/metastore/apiv1alpha/dataproc_metastore_federation_client_example_test.go b/metastore/apiv1alpha/dataproc_metastore_federation_client_example_test.go index bd29b160b673..cad7a72e3ab7 100644 --- a/metastore/apiv1alpha/dataproc_metastore_federation_client_example_test.go +++ b/metastore/apiv1alpha/dataproc_metastore_federation_client_example_test.go @@ -172,6 +172,12 @@ func ExampleDataprocMetastoreFederationClient_ListFederations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListFederationsResponse) } } @@ -258,6 +264,12 @@ func ExampleDataprocMetastoreFederationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -435,5 +447,11 @@ func ExampleDataprocMetastoreFederationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/metastore/apiv1beta/dataproc_metastore_client_example_test.go b/metastore/apiv1beta/dataproc_metastore_client_example_test.go index 91f3a17b5530..553af27e3fd2 100644 --- a/metastore/apiv1beta/dataproc_metastore_client_example_test.go +++ b/metastore/apiv1beta/dataproc_metastore_client_example_test.go @@ -370,6 +370,12 @@ func ExampleDataprocMetastoreClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListBackupsResponse) } } @@ -401,6 +407,12 @@ func ExampleDataprocMetastoreClient_ListMetadataImports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListMetadataImportsResponse) } } @@ -432,6 +444,12 @@ func ExampleDataprocMetastoreClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListServicesResponse) } } @@ -663,6 +681,12 @@ func ExampleDataprocMetastoreClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -840,5 +864,11 @@ func ExampleDataprocMetastoreClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/metastore/apiv1beta/dataproc_metastore_federation_client_example_test.go b/metastore/apiv1beta/dataproc_metastore_federation_client_example_test.go index f00c779d69dd..21a6d39e8c24 100644 --- a/metastore/apiv1beta/dataproc_metastore_federation_client_example_test.go +++ b/metastore/apiv1beta/dataproc_metastore_federation_client_example_test.go @@ -172,6 +172,12 @@ func ExampleDataprocMetastoreFederationClient_ListFederations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*metastorepb.ListFederationsResponse) } } @@ -258,6 +264,12 @@ func ExampleDataprocMetastoreFederationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -435,5 +447,11 @@ func ExampleDataprocMetastoreFederationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/migrationcenter/apiv1/migration_center_client_example_test.go b/migrationcenter/apiv1/migration_center_client_example_test.go index 60f316e4aa0b..413bc460bd85 100644 --- a/migrationcenter/apiv1/migration_center_client_example_test.go +++ b/migrationcenter/apiv1/migration_center_client_example_test.go @@ -870,6 +870,12 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListAssetsResponse) } } @@ -901,6 +907,12 @@ func ExampleClient_ListErrorFrames() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListErrorFramesResponse) } } @@ -932,6 +944,12 @@ func ExampleClient_ListGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListGroupsResponse) } } @@ -963,6 +981,12 @@ func ExampleClient_ListImportDataFiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListImportDataFilesResponse) } } @@ -994,6 +1018,12 @@ func ExampleClient_ListImportJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListImportJobsResponse) } } @@ -1025,6 +1055,12 @@ func ExampleClient_ListPreferenceSets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListPreferenceSetsResponse) } } @@ -1056,6 +1092,12 @@ func ExampleClient_ListReportConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListReportConfigsResponse) } } @@ -1087,6 +1129,12 @@ func ExampleClient_ListReports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListReportsResponse) } } @@ -1118,6 +1166,12 @@ func ExampleClient_ListSources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*migrationcenterpb.ListSourcesResponse) } } @@ -1460,6 +1514,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1562,5 +1622,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/monitoring/apiv3/v2/alert_policy_client_example_test.go b/monitoring/apiv3/v2/alert_policy_client_example_test.go index e251cca1b7a3..228c087b7ed0 100644 --- a/monitoring/apiv3/v2/alert_policy_client_example_test.go +++ b/monitoring/apiv3/v2/alert_policy_client_example_test.go @@ -142,6 +142,12 @@ func ExampleAlertPolicyClient_ListAlertPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListAlertPoliciesResponse) } } diff --git a/monitoring/apiv3/v2/group_client_example_test.go b/monitoring/apiv3/v2/group_client_example_test.go index ce2978faf86d..f53e08425cb5 100644 --- a/monitoring/apiv3/v2/group_client_example_test.go +++ b/monitoring/apiv3/v2/group_client_example_test.go @@ -142,6 +142,12 @@ func ExampleGroupClient_ListGroupMembers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListGroupMembersResponse) } } @@ -173,6 +179,12 @@ func ExampleGroupClient_ListGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListGroupsResponse) } } diff --git a/monitoring/apiv3/v2/metric_client_example_test.go b/monitoring/apiv3/v2/metric_client_example_test.go index 640e453665e1..fcee61943c69 100644 --- a/monitoring/apiv3/v2/metric_client_example_test.go +++ b/monitoring/apiv3/v2/metric_client_example_test.go @@ -213,6 +213,12 @@ func ExampleMetricClient_ListMetricDescriptors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListMetricDescriptorsResponse) } } @@ -244,6 +250,12 @@ func ExampleMetricClient_ListMonitoredResourceDescriptors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListMonitoredResourceDescriptorsResponse) } } @@ -275,5 +287,11 @@ func ExampleMetricClient_ListTimeSeries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListTimeSeriesResponse) } } diff --git a/monitoring/apiv3/v2/notification_channel_client_example_test.go b/monitoring/apiv3/v2/notification_channel_client_example_test.go index a0901c6718f3..4f621a0e5041 100644 --- a/monitoring/apiv3/v2/notification_channel_client_example_test.go +++ b/monitoring/apiv3/v2/notification_channel_client_example_test.go @@ -192,6 +192,12 @@ func ExampleNotificationChannelClient_ListNotificationChannelDescriptors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListNotificationChannelDescriptorsResponse) } } @@ -223,6 +229,12 @@ func ExampleNotificationChannelClient_ListNotificationChannels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListNotificationChannelsResponse) } } diff --git a/monitoring/apiv3/v2/query_client_example_test.go b/monitoring/apiv3/v2/query_client_example_test.go index 8d6853e73ee4..9492c6649ad1 100644 --- a/monitoring/apiv3/v2/query_client_example_test.go +++ b/monitoring/apiv3/v2/query_client_example_test.go @@ -69,5 +69,11 @@ func ExampleQueryClient_QueryTimeSeries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.QueryTimeSeriesResponse) } } diff --git a/monitoring/apiv3/v2/service_monitoring_client_example_test.go b/monitoring/apiv3/v2/service_monitoring_client_example_test.go index 2fdbc256767a..24991e365cbc 100644 --- a/monitoring/apiv3/v2/service_monitoring_client_example_test.go +++ b/monitoring/apiv3/v2/service_monitoring_client_example_test.go @@ -215,6 +215,12 @@ func ExampleServiceMonitoringClient_ListServiceLevelObjectives() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListServiceLevelObjectivesResponse) } } @@ -246,6 +252,12 @@ func ExampleServiceMonitoringClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListServicesResponse) } } diff --git a/monitoring/apiv3/v2/snooze_client_example_test.go b/monitoring/apiv3/v2/snooze_client_example_test.go index b8275aac2933..c023841414ba 100644 --- a/monitoring/apiv3/v2/snooze_client_example_test.go +++ b/monitoring/apiv3/v2/snooze_client_example_test.go @@ -119,6 +119,12 @@ func ExampleSnoozeClient_ListSnoozes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListSnoozesResponse) } } diff --git a/monitoring/apiv3/v2/uptime_check_client_example_test.go b/monitoring/apiv3/v2/uptime_check_client_example_test.go index 71a9317705d2..056e5ea5e979 100644 --- a/monitoring/apiv3/v2/uptime_check_client_example_test.go +++ b/monitoring/apiv3/v2/uptime_check_client_example_test.go @@ -142,6 +142,12 @@ func ExampleUptimeCheckClient_ListUptimeCheckConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListUptimeCheckConfigsResponse) } } @@ -173,6 +179,12 @@ func ExampleUptimeCheckClient_ListUptimeCheckIps() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*monitoringpb.ListUptimeCheckIpsResponse) } } diff --git a/monitoring/dashboard/apiv1/dashboards_client_example_test.go b/monitoring/dashboard/apiv1/dashboards_client_example_test.go index e21a9c1f57a1..7ae84055b042 100644 --- a/monitoring/dashboard/apiv1/dashboards_client_example_test.go +++ b/monitoring/dashboard/apiv1/dashboards_client_example_test.go @@ -159,6 +159,12 @@ func ExampleDashboardsClient_ListDashboards() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*dashboardpb.ListDashboardsResponse) } } diff --git a/netapp/apiv1/net_app_client_example_test.go b/netapp/apiv1/net_app_client_example_test.go index 3ca88ff28960..dd37dfad6fa4 100644 --- a/netapp/apiv1/net_app_client_example_test.go +++ b/netapp/apiv1/net_app_client_example_test.go @@ -865,6 +865,12 @@ func ExampleClient_ListActiveDirectories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListActiveDirectoriesResponse) } } @@ -896,6 +902,12 @@ func ExampleClient_ListBackupPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListBackupPoliciesResponse) } } @@ -927,6 +939,12 @@ func ExampleClient_ListBackupVaults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListBackupVaultsResponse) } } @@ -958,6 +976,12 @@ func ExampleClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListBackupsResponse) } } @@ -989,6 +1013,12 @@ func ExampleClient_ListKmsConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListKmsConfigsResponse) } } @@ -1020,6 +1050,12 @@ func ExampleClient_ListReplications() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListReplicationsResponse) } } @@ -1051,6 +1087,12 @@ func ExampleClient_ListSnapshots() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListSnapshotsResponse) } } @@ -1082,6 +1124,12 @@ func ExampleClient_ListStoragePools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListStoragePoolsResponse) } } @@ -1113,6 +1161,12 @@ func ExampleClient_ListVolumes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*netapppb.ListVolumesResponse) } } @@ -1584,6 +1638,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1686,5 +1746,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/networkconnectivity/apiv1/hub_client_example_test.go b/networkconnectivity/apiv1/hub_client_example_test.go index b7efc3befc6d..192b42eba5dc 100644 --- a/networkconnectivity/apiv1/hub_client_example_test.go +++ b/networkconnectivity/apiv1/hub_client_example_test.go @@ -343,6 +343,12 @@ func ExampleHubClient_ListGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListGroupsResponse) } } @@ -374,6 +380,12 @@ func ExampleHubClient_ListHubSpokes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListHubSpokesResponse) } } @@ -405,6 +417,12 @@ func ExampleHubClient_ListHubs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListHubsResponse) } } @@ -436,6 +454,12 @@ func ExampleHubClient_ListRouteTables() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListRouteTablesResponse) } } @@ -467,6 +491,12 @@ func ExampleHubClient_ListRoutes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListRoutesResponse) } } @@ -498,6 +528,12 @@ func ExampleHubClient_ListSpokes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListSpokesResponse) } } @@ -644,6 +680,12 @@ func ExampleHubClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -821,5 +863,11 @@ func ExampleHubClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/networkconnectivity/apiv1/policy_based_routing_client_example_test.go b/networkconnectivity/apiv1/policy_based_routing_client_example_test.go index 4a901f4e8961..b1dd11872ded 100644 --- a/networkconnectivity/apiv1/policy_based_routing_client_example_test.go +++ b/networkconnectivity/apiv1/policy_based_routing_client_example_test.go @@ -155,6 +155,12 @@ func ExamplePolicyBasedRoutingClient_ListPolicyBasedRoutes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListPolicyBasedRoutesResponse) } } @@ -211,6 +217,12 @@ func ExamplePolicyBasedRoutingClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -388,5 +400,11 @@ func ExamplePolicyBasedRoutingClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/networkconnectivity/apiv1alpha1/hub_client_example_test.go b/networkconnectivity/apiv1alpha1/hub_client_example_test.go index 071f38430175..fb20fde6238e 100644 --- a/networkconnectivity/apiv1alpha1/hub_client_example_test.go +++ b/networkconnectivity/apiv1alpha1/hub_client_example_test.go @@ -252,6 +252,12 @@ func ExampleHubClient_ListHubs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListHubsResponse) } } @@ -283,6 +289,12 @@ func ExampleHubClient_ListSpokes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkconnectivitypb.ListSpokesResponse) } } diff --git a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go index 852622749211..addc5d45d042 100755 --- a/networkmanagement/apiv1/networkmanagementpb/trace.pb.go +++ b/networkmanagement/apiv1/networkmanagementpb/trace.pb.go @@ -2571,7 +2571,7 @@ type FirewallInfo struct { Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"` // Possible values: INGRESS, EGRESS Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"` - // Possible values: ALLOW, DENY + // Possible values: ALLOW, DENY, APPLY_SECURITY_PROFILE_GROUP Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` // The priority of the firewall rule. Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` diff --git a/networkmanagement/apiv1/reachability_client_example_test.go b/networkmanagement/apiv1/reachability_client_example_test.go index a3774ff501d2..1100507f6aa8 100644 --- a/networkmanagement/apiv1/reachability_client_example_test.go +++ b/networkmanagement/apiv1/reachability_client_example_test.go @@ -172,6 +172,12 @@ func ExampleReachabilityClient_ListConnectivityTests() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networkmanagementpb.ListConnectivityTestsResponse) } } @@ -288,6 +294,12 @@ func ExampleReachabilityClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -465,5 +477,11 @@ func ExampleReachabilityClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/networksecurity/apiv1beta1/network_security_client_example_test.go b/networksecurity/apiv1beta1/network_security_client_example_test.go index 19c12cd931c9..32e41e509cf6 100644 --- a/networksecurity/apiv1beta1/network_security_client_example_test.go +++ b/networksecurity/apiv1beta1/network_security_client_example_test.go @@ -338,6 +338,12 @@ func ExampleClient_ListAuthorizationPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networksecuritypb.ListAuthorizationPoliciesResponse) } } @@ -369,6 +375,12 @@ func ExampleClient_ListClientTlsPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networksecuritypb.ListClientTlsPoliciesResponse) } } @@ -400,6 +412,12 @@ func ExampleClient_ListServerTlsPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*networksecuritypb.ListServerTlsPoliciesResponse) } } @@ -546,6 +564,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -723,5 +747,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/notebooks/apiv1/managed_notebook_client_example_test.go b/notebooks/apiv1/managed_notebook_client_example_test.go index f788ac63e4c5..d3ab923231a1 100644 --- a/notebooks/apiv1/managed_notebook_client_example_test.go +++ b/notebooks/apiv1/managed_notebook_client_example_test.go @@ -185,6 +185,12 @@ func ExampleManagedNotebookClient_ListRuntimes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListRuntimesResponse) } } @@ -476,6 +482,12 @@ func ExampleManagedNotebookClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -653,5 +665,11 @@ func ExampleManagedNotebookClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/notebooks/apiv1/notebook_client_example_test.go b/notebooks/apiv1/notebook_client_example_test.go index 3069235d11cc..9f95f2e7a986 100644 --- a/notebooks/apiv1/notebook_client_example_test.go +++ b/notebooks/apiv1/notebook_client_example_test.go @@ -484,6 +484,12 @@ func ExampleNotebookClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListEnvironmentsResponse) } } @@ -515,6 +521,12 @@ func ExampleNotebookClient_ListExecutions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListExecutionsResponse) } } @@ -546,6 +558,12 @@ func ExampleNotebookClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListInstancesResponse) } } @@ -577,6 +595,12 @@ func ExampleNotebookClient_ListSchedules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListSchedulesResponse) } } @@ -1078,6 +1102,12 @@ func ExampleNotebookClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1255,5 +1285,11 @@ func ExampleNotebookClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/notebooks/apiv1beta1/notebook_client_example_test.go b/notebooks/apiv1beta1/notebook_client_example_test.go index 0b144242c9dc..85e34c00eb88 100644 --- a/notebooks/apiv1beta1/notebook_client_example_test.go +++ b/notebooks/apiv1beta1/notebook_client_example_test.go @@ -280,6 +280,12 @@ func ExampleNotebookClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListEnvironmentsResponse) } } @@ -311,6 +317,12 @@ func ExampleNotebookClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListInstancesResponse) } } @@ -667,6 +679,12 @@ func ExampleNotebookClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -844,5 +862,11 @@ func ExampleNotebookClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/notebooks/apiv2/notebook_client_example_test.go b/notebooks/apiv2/notebook_client_example_test.go index ce49db9e7d6a..c068f888f183 100644 --- a/notebooks/apiv2/notebook_client_example_test.go +++ b/notebooks/apiv2/notebook_client_example_test.go @@ -227,6 +227,12 @@ func ExampleNotebookClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*notebookspb.ListInstancesResponse) } } @@ -463,6 +469,12 @@ func ExampleNotebookClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -640,5 +652,11 @@ func ExampleNotebookClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/orchestration/airflow/service/apiv1/environments_client_example_test.go b/orchestration/airflow/service/apiv1/environments_client_example_test.go index ef450d5ad4c8..4c1831707d60 100644 --- a/orchestration/airflow/service/apiv1/environments_client_example_test.go +++ b/orchestration/airflow/service/apiv1/environments_client_example_test.go @@ -396,6 +396,12 @@ func ExampleEnvironmentsClient_ListEnvironments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListEnvironmentsResponse) } } @@ -427,6 +433,12 @@ func ExampleEnvironmentsClient_ListUserWorkloadsConfigMaps() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListUserWorkloadsConfigMapsResponse) } } @@ -458,6 +470,12 @@ func ExampleEnvironmentsClient_ListUserWorkloadsSecrets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListUserWorkloadsSecretsResponse) } } @@ -489,6 +507,12 @@ func ExampleEnvironmentsClient_ListWorkloads() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListWorkloadsResponse) } } @@ -758,5 +782,11 @@ func ExampleEnvironmentsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/orchestration/airflow/service/apiv1/image_versions_client_example_test.go b/orchestration/airflow/service/apiv1/image_versions_client_example_test.go index 68bdfecf420f..52d3e9c91684 100644 --- a/orchestration/airflow/service/apiv1/image_versions_client_example_test.go +++ b/orchestration/airflow/service/apiv1/image_versions_client_example_test.go @@ -87,6 +87,12 @@ func ExampleImageVersionsClient_ListImageVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicepb.ListImageVersionsResponse) } } @@ -166,5 +172,11 @@ func ExampleImageVersionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/orgpolicy/apiv2/org_policy_client_example_test.go b/orgpolicy/apiv2/org_policy_client_example_test.go index dc3735b8444c..38d34786a15a 100644 --- a/orgpolicy/apiv2/org_policy_client_example_test.go +++ b/orgpolicy/apiv2/org_policy_client_example_test.go @@ -257,6 +257,12 @@ func ExampleClient_ListConstraints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*orgpolicypb.ListConstraintsResponse) } } @@ -288,6 +294,12 @@ func ExampleClient_ListCustomConstraints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*orgpolicypb.ListCustomConstraintsResponse) } } @@ -319,6 +331,12 @@ func ExampleClient_ListPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*orgpolicypb.ListPoliciesResponse) } } diff --git a/osconfig/apiv1/os_config_client_example_test.go b/osconfig/apiv1/os_config_client_example_test.go index aa6a93a6f597..0fd407e85f1a 100644 --- a/osconfig/apiv1/os_config_client_example_test.go +++ b/osconfig/apiv1/os_config_client_example_test.go @@ -234,6 +234,12 @@ func ExampleClient_ListPatchDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchDeploymentsResponse) } } @@ -265,6 +271,12 @@ func ExampleClient_ListPatchJobInstanceDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobInstanceDetailsResponse) } } @@ -296,6 +308,12 @@ func ExampleClient_ListPatchJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobsResponse) } } diff --git a/osconfig/apiv1/os_config_zonal_client_example_test.go b/osconfig/apiv1/os_config_zonal_client_example_test.go index fa6ef63f8e24..302afe4b0a92 100644 --- a/osconfig/apiv1/os_config_zonal_client_example_test.go +++ b/osconfig/apiv1/os_config_zonal_client_example_test.go @@ -244,6 +244,12 @@ func ExampleOsConfigZonalClient_ListInventories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListInventoriesResponse) } } @@ -275,6 +281,12 @@ func ExampleOsConfigZonalClient_ListOSPolicyAssignmentReports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentReportsResponse) } } @@ -306,6 +318,12 @@ func ExampleOsConfigZonalClient_ListOSPolicyAssignmentRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentRevisionsResponse) } } @@ -337,6 +355,12 @@ func ExampleOsConfigZonalClient_ListOSPolicyAssignments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentsResponse) } } @@ -368,6 +392,12 @@ func ExampleOsConfigZonalClient_ListVulnerabilityReports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListVulnerabilityReportsResponse) } } diff --git a/osconfig/apiv1alpha/os_config_zonal_client_example_test.go b/osconfig/apiv1alpha/os_config_zonal_client_example_test.go index dbc0315278f5..aba80c68ee8e 100644 --- a/osconfig/apiv1alpha/os_config_zonal_client_example_test.go +++ b/osconfig/apiv1alpha/os_config_zonal_client_example_test.go @@ -269,6 +269,12 @@ func ExampleOsConfigZonalClient_ListInstanceOSPoliciesCompliances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListInstanceOSPoliciesCompliancesResponse) } } @@ -300,6 +306,12 @@ func ExampleOsConfigZonalClient_ListInventories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListInventoriesResponse) } } @@ -331,6 +343,12 @@ func ExampleOsConfigZonalClient_ListOSPolicyAssignmentReports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentReportsResponse) } } @@ -362,6 +380,12 @@ func ExampleOsConfigZonalClient_ListOSPolicyAssignmentRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentRevisionsResponse) } } @@ -393,6 +417,12 @@ func ExampleOsConfigZonalClient_ListOSPolicyAssignments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListOSPolicyAssignmentsResponse) } } @@ -424,6 +454,12 @@ func ExampleOsConfigZonalClient_ListVulnerabilityReports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListVulnerabilityReportsResponse) } } diff --git a/osconfig/apiv1beta/os_config_client_example_test.go b/osconfig/apiv1beta/os_config_client_example_test.go index eee947ac2e97..353e480beae9 100644 --- a/osconfig/apiv1beta/os_config_client_example_test.go +++ b/osconfig/apiv1beta/os_config_client_example_test.go @@ -307,6 +307,12 @@ func ExampleClient_ListGuestPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListGuestPoliciesResponse) } } @@ -338,6 +344,12 @@ func ExampleClient_ListPatchDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchDeploymentsResponse) } } @@ -369,6 +381,12 @@ func ExampleClient_ListPatchJobInstanceDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobInstanceDetailsResponse) } } @@ -400,6 +418,12 @@ func ExampleClient_ListPatchJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*osconfigpb.ListPatchJobsResponse) } } diff --git a/parallelstore/apiv1beta/parallelstore_client_example_test.go b/parallelstore/apiv1beta/parallelstore_client_example_test.go index 7d13125f7756..9c2801386762 100644 --- a/parallelstore/apiv1beta/parallelstore_client_example_test.go +++ b/parallelstore/apiv1beta/parallelstore_client_example_test.go @@ -171,6 +171,12 @@ func ExampleClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*parallelstorepb.ListInstancesResponse) } } @@ -257,6 +263,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -359,5 +371,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/policysimulator/apiv1/simulator_client_example_test.go b/policysimulator/apiv1/simulator_client_example_test.go index a12095d0b6be..a5456673f278 100644 --- a/policysimulator/apiv1/simulator_client_example_test.go +++ b/policysimulator/apiv1/simulator_client_example_test.go @@ -142,6 +142,12 @@ func ExampleSimulatorClient_ListReplayResults() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*policysimulatorpb.ListReplayResultsResponse) } } @@ -198,5 +204,11 @@ func ExampleSimulatorClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/privatecatalog/apiv1beta1/doc.go b/privatecatalog/apiv1beta1/doc.go index a35f626d07e7..cd2401c3d0b8 100755 --- a/privatecatalog/apiv1beta1/doc.go +++ b/privatecatalog/apiv1beta1/doc.go @@ -85,6 +85,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*privatecatalogpb.SearchCatalogsResponse) // } // // # Use of Context diff --git a/privatecatalog/apiv1beta1/private_catalog_client_example_test.go b/privatecatalog/apiv1beta1/private_catalog_client_example_test.go index d6ae0a1797b0..21f89547cfc0 100644 --- a/privatecatalog/apiv1beta1/private_catalog_client_example_test.go +++ b/privatecatalog/apiv1beta1/private_catalog_client_example_test.go @@ -86,6 +86,12 @@ func ExampleClient_SearchCatalogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecatalogpb.SearchCatalogsResponse) } } @@ -117,6 +123,12 @@ func ExampleClient_SearchProducts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecatalogpb.SearchProductsResponse) } } @@ -148,5 +160,11 @@ func ExampleClient_SearchVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecatalogpb.SearchVersionsResponse) } } diff --git a/pubsub/apiv1/publisher_client_example_test.go b/pubsub/apiv1/publisher_client_example_test.go index dd19092735b6..09391a8f3ca8 100644 --- a/pubsub/apiv1/publisher_client_example_test.go +++ b/pubsub/apiv1/publisher_client_example_test.go @@ -185,6 +185,12 @@ func ExamplePublisherClient_ListTopicSnapshots() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListTopicSnapshotsResponse) } } @@ -216,6 +222,12 @@ func ExamplePublisherClient_ListTopicSubscriptions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListTopicSubscriptionsResponse) } } @@ -247,6 +259,12 @@ func ExamplePublisherClient_ListTopics() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListTopicsResponse) } } diff --git a/pubsub/apiv1/schema_client_example_test.go b/pubsub/apiv1/schema_client_example_test.go index 4a09af94d2e8..fb946b146402 100644 --- a/pubsub/apiv1/schema_client_example_test.go +++ b/pubsub/apiv1/schema_client_example_test.go @@ -210,6 +210,12 @@ func ExampleSchemaClient_ListSchemaRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSchemaRevisionsResponse) } } @@ -241,6 +247,12 @@ func ExampleSchemaClient_ListSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSchemasResponse) } } diff --git a/pubsub/apiv1/subscriber_client_example_test.go b/pubsub/apiv1/subscriber_client_example_test.go index 78ca27060aa2..d0780573c770 100644 --- a/pubsub/apiv1/subscriber_client_example_test.go +++ b/pubsub/apiv1/subscriber_client_example_test.go @@ -257,6 +257,12 @@ func ExampleSubscriberClient_ListSnapshots() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSnapshotsResponse) } } @@ -288,6 +294,12 @@ func ExampleSubscriberClient_ListSubscriptions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsubpb.ListSubscriptionsResponse) } } diff --git a/pubsublite/apiv1/admin_client_example_test.go b/pubsublite/apiv1/admin_client_example_test.go index ef8794706a9f..668bab37dd48 100644 --- a/pubsublite/apiv1/admin_client_example_test.go +++ b/pubsublite/apiv1/admin_client_example_test.go @@ -314,6 +314,12 @@ func ExampleAdminClient_ListReservationTopics() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListReservationTopicsResponse) } } @@ -345,6 +351,12 @@ func ExampleAdminClient_ListReservations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListReservationsResponse) } } @@ -376,6 +388,12 @@ func ExampleAdminClient_ListSubscriptions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListSubscriptionsResponse) } } @@ -407,6 +425,12 @@ func ExampleAdminClient_ListTopicSubscriptions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListTopicSubscriptionsResponse) } } @@ -438,6 +462,12 @@ func ExampleAdminClient_ListTopics() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListTopicsResponse) } } @@ -645,5 +675,11 @@ func ExampleAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/pubsublite/apiv1/cursor_client_example_test.go b/pubsublite/apiv1/cursor_client_example_test.go index d31e6620a7e4..71d033f30172 100644 --- a/pubsublite/apiv1/cursor_client_example_test.go +++ b/pubsublite/apiv1/cursor_client_example_test.go @@ -96,6 +96,12 @@ func ExampleCursorClient_ListPartitionCursors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*pubsublitepb.ListPartitionCursorsResponse) } } @@ -238,5 +244,11 @@ func ExampleCursorClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/pubsublite/apiv1/partition_assignment_client_example_test.go b/pubsublite/apiv1/partition_assignment_client_example_test.go index 8dc94c6e5be7..c755b6c309e3 100644 --- a/pubsublite/apiv1/partition_assignment_client_example_test.go +++ b/pubsublite/apiv1/partition_assignment_client_example_test.go @@ -182,5 +182,11 @@ func ExamplePartitionAssignmentClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/pubsublite/apiv1/publisher_client_example_test.go b/pubsublite/apiv1/publisher_client_example_test.go index 537be95d6675..1d9cac820aee 100644 --- a/pubsublite/apiv1/publisher_client_example_test.go +++ b/pubsublite/apiv1/publisher_client_example_test.go @@ -182,5 +182,11 @@ func ExamplePublisherClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/pubsublite/apiv1/subscriber_client_example_test.go b/pubsublite/apiv1/subscriber_client_example_test.go index a73bb1fed50e..6c5c5c5cf92e 100644 --- a/pubsublite/apiv1/subscriber_client_example_test.go +++ b/pubsublite/apiv1/subscriber_client_example_test.go @@ -182,5 +182,11 @@ func ExampleSubscriberClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/pubsublite/apiv1/topic_stats_client_example_test.go b/pubsublite/apiv1/topic_stats_client_example_test.go index 7ae48b4d59ad..bd23dd8a908e 100644 --- a/pubsublite/apiv1/topic_stats_client_example_test.go +++ b/pubsublite/apiv1/topic_stats_client_example_test.go @@ -216,5 +216,11 @@ func ExampleTopicStatsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/rapidmigrationassessment/apiv1/rapid_migration_assessment_client_example_test.go b/rapidmigrationassessment/apiv1/rapid_migration_assessment_client_example_test.go index c8548968e8e2..1d48421696ea 100644 --- a/rapidmigrationassessment/apiv1/rapid_migration_assessment_client_example_test.go +++ b/rapidmigrationassessment/apiv1/rapid_migration_assessment_client_example_test.go @@ -228,6 +228,12 @@ func ExampleClient_ListCollectors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*rapidmigrationassessmentpb.ListCollectorsResponse) } } @@ -404,6 +410,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -506,5 +518,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/recaptchaenterprise/apiv1/recaptcha_enterprise_client_example_test.go b/recaptchaenterprise/apiv1/recaptcha_enterprise_client_example_test.go index 9a14377e3871..59e4691b4fce 100644 --- a/recaptchaenterprise/apiv1/recaptcha_enterprise_client_example_test.go +++ b/recaptchaenterprise/apiv1/recaptcha_enterprise_client_example_test.go @@ -290,6 +290,12 @@ func ExampleClient_ListFirewallPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListFirewallPoliciesResponse) } } @@ -321,6 +327,12 @@ func ExampleClient_ListKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListKeysResponse) } } @@ -352,6 +364,12 @@ func ExampleClient_ListRelatedAccountGroupMemberships() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListRelatedAccountGroupMembershipsResponse) } } @@ -383,6 +401,12 @@ func ExampleClient_ListRelatedAccountGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.ListRelatedAccountGroupsResponse) } } @@ -489,6 +513,12 @@ func ExampleClient_SearchRelatedAccountGroupMemberships() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recaptchaenterprisepb.SearchRelatedAccountGroupMembershipsResponse) } } diff --git a/recommendationengine/apiv1beta1/catalog_client_example_test.go b/recommendationengine/apiv1beta1/catalog_client_example_test.go index 5b6bf6953730..28c8fb66313f 100644 --- a/recommendationengine/apiv1beta1/catalog_client_example_test.go +++ b/recommendationengine/apiv1beta1/catalog_client_example_test.go @@ -189,6 +189,12 @@ func ExampleCatalogClient_ListCatalogItems() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.ListCatalogItemsResponse) } } diff --git a/recommendationengine/apiv1beta1/prediction_api_key_registry_client_example_test.go b/recommendationengine/apiv1beta1/prediction_api_key_registry_client_example_test.go index 0286e9a10d33..bdd0034e6b25 100644 --- a/recommendationengine/apiv1beta1/prediction_api_key_registry_client_example_test.go +++ b/recommendationengine/apiv1beta1/prediction_api_key_registry_client_example_test.go @@ -134,5 +134,11 @@ func ExamplePredictionApiKeyRegistryClient_ListPredictionApiKeyRegistrations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.ListPredictionApiKeyRegistrationsResponse) } } diff --git a/recommendationengine/apiv1beta1/prediction_client_example_test.go b/recommendationengine/apiv1beta1/prediction_client_example_test.go index 7435e37a81df..c544fc7f8f85 100644 --- a/recommendationengine/apiv1beta1/prediction_client_example_test.go +++ b/recommendationengine/apiv1beta1/prediction_client_example_test.go @@ -86,5 +86,11 @@ func ExamplePredictionClient_Predict() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.PredictResponse) } } diff --git a/recommendationengine/apiv1beta1/user_event_client_example_test.go b/recommendationengine/apiv1beta1/user_event_client_example_test.go index 52fad5073626..4a789ab182bf 100644 --- a/recommendationengine/apiv1beta1/user_event_client_example_test.go +++ b/recommendationengine/apiv1beta1/user_event_client_example_test.go @@ -141,6 +141,12 @@ func ExampleUserEventClient_ListUserEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommendationenginepb.ListUserEventsResponse) } } diff --git a/recommender/apiv1/recommender_client_example_test.go b/recommender/apiv1/recommender_client_example_test.go index 34fd9eddb4ca..3f5807a155e7 100644 --- a/recommender/apiv1/recommender_client_example_test.go +++ b/recommender/apiv1/recommender_client_example_test.go @@ -186,6 +186,12 @@ func ExampleClient_ListInsights() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListInsightsResponse) } } @@ -217,6 +223,12 @@ func ExampleClient_ListRecommendations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListRecommendationsResponse) } } diff --git a/recommender/apiv1beta1/recommender_client_example_test.go b/recommender/apiv1beta1/recommender_client_example_test.go index 8e3eb564218a..ac111982d49b 100644 --- a/recommender/apiv1beta1/recommender_client_example_test.go +++ b/recommender/apiv1beta1/recommender_client_example_test.go @@ -186,6 +186,12 @@ func ExampleClient_ListInsightTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListInsightTypesResponse) } } @@ -217,6 +223,12 @@ func ExampleClient_ListInsights() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListInsightsResponse) } } @@ -248,6 +260,12 @@ func ExampleClient_ListRecommendations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListRecommendationsResponse) } } @@ -279,6 +297,12 @@ func ExampleClient_ListRecommenders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*recommenderpb.ListRecommendersResponse) } } diff --git a/redis/apiv1/cloud_redis_client_example_test.go b/redis/apiv1/cloud_redis_client_example_test.go index 9caf17475e79..4126fc20e4a4 100644 --- a/redis/apiv1/cloud_redis_client_example_test.go +++ b/redis/apiv1/cloud_redis_client_example_test.go @@ -286,6 +286,12 @@ func ExampleCloudRedisClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*redispb.ListInstancesResponse) } } @@ -432,6 +438,12 @@ func ExampleCloudRedisClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -534,5 +546,11 @@ func ExampleCloudRedisClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/redis/apiv1beta1/cloud_redis_client_example_test.go b/redis/apiv1beta1/cloud_redis_client_example_test.go index 70686caf75e1..5f94948dde8d 100644 --- a/redis/apiv1beta1/cloud_redis_client_example_test.go +++ b/redis/apiv1beta1/cloud_redis_client_example_test.go @@ -284,6 +284,12 @@ func ExampleCloudRedisClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*redispb.ListInstancesResponse) } } diff --git a/redis/cluster/apiv1/cloud_redis_cluster_client_example_test.go b/redis/cluster/apiv1/cloud_redis_cluster_client_example_test.go index 645c5c79acf9..3561b8c45c40 100644 --- a/redis/cluster/apiv1/cloud_redis_cluster_client_example_test.go +++ b/redis/cluster/apiv1/cloud_redis_cluster_client_example_test.go @@ -171,6 +171,12 @@ func ExampleCloudRedisClusterClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*clusterpb.ListClustersResponse) } } @@ -257,6 +263,12 @@ func ExampleCloudRedisClusterClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -359,5 +371,11 @@ func ExampleCloudRedisClusterClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/resourcemanager/apiv2/folders_client_example_test.go b/resourcemanager/apiv2/folders_client_example_test.go index 4bde7712127e..0d4f2ec69c89 100644 --- a/resourcemanager/apiv2/folders_client_example_test.go +++ b/resourcemanager/apiv2/folders_client_example_test.go @@ -192,6 +192,12 @@ func ExampleFoldersClient_ListFolders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListFoldersResponse) } } @@ -253,6 +259,12 @@ func ExampleFoldersClient_SearchFolders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchFoldersResponse) } } diff --git a/resourcemanager/apiv3/folders_client_example_test.go b/resourcemanager/apiv3/folders_client_example_test.go index e81fbf7a5738..112e8e126a14 100644 --- a/resourcemanager/apiv3/folders_client_example_test.go +++ b/resourcemanager/apiv3/folders_client_example_test.go @@ -198,6 +198,12 @@ func ExampleFoldersClient_ListFolders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListFoldersResponse) } } @@ -259,6 +265,12 @@ func ExampleFoldersClient_SearchFolders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchFoldersResponse) } } diff --git a/resourcemanager/apiv3/organizations_client_example_test.go b/resourcemanager/apiv3/organizations_client_example_test.go index 434c12cda157..ad04dd206e40 100644 --- a/resourcemanager/apiv3/organizations_client_example_test.go +++ b/resourcemanager/apiv3/organizations_client_example_test.go @@ -138,6 +138,12 @@ func ExampleOrganizationsClient_SearchOrganizations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchOrganizationsResponse) } } diff --git a/resourcemanager/apiv3/projects_client_example_test.go b/resourcemanager/apiv3/projects_client_example_test.go index 853a04ceaa97..15329db3dafa 100644 --- a/resourcemanager/apiv3/projects_client_example_test.go +++ b/resourcemanager/apiv3/projects_client_example_test.go @@ -198,6 +198,12 @@ func ExampleProjectsClient_ListProjects() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListProjectsResponse) } } @@ -259,6 +265,12 @@ func ExampleProjectsClient_SearchProjects() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.SearchProjectsResponse) } } diff --git a/resourcemanager/apiv3/tag_bindings_client_example_test.go b/resourcemanager/apiv3/tag_bindings_client_example_test.go index 0d304f9817c7..ed4b058b4400 100644 --- a/resourcemanager/apiv3/tag_bindings_client_example_test.go +++ b/resourcemanager/apiv3/tag_bindings_client_example_test.go @@ -145,6 +145,12 @@ func ExampleTagBindingsClient_ListEffectiveTags() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListEffectiveTagsResponse) } } @@ -176,6 +182,12 @@ func ExampleTagBindingsClient_ListTagBindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagBindingsResponse) } } diff --git a/resourcemanager/apiv3/tag_holds_client_example_test.go b/resourcemanager/apiv3/tag_holds_client_example_test.go index 369f0af98b77..6c267c0a4842 100644 --- a/resourcemanager/apiv3/tag_holds_client_example_test.go +++ b/resourcemanager/apiv3/tag_holds_client_example_test.go @@ -145,6 +145,12 @@ func ExampleTagHoldsClient_ListTagHolds() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagHoldsResponse) } } diff --git a/resourcemanager/apiv3/tag_keys_client_example_test.go b/resourcemanager/apiv3/tag_keys_client_example_test.go index fdac47cfe0dd..770f517ad00a 100644 --- a/resourcemanager/apiv3/tag_keys_client_example_test.go +++ b/resourcemanager/apiv3/tag_keys_client_example_test.go @@ -223,6 +223,12 @@ func ExampleTagKeysClient_ListTagKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagKeysResponse) } } diff --git a/resourcemanager/apiv3/tag_values_client_example_test.go b/resourcemanager/apiv3/tag_values_client_example_test.go index 31beb967e896..9267ad694b57 100644 --- a/resourcemanager/apiv3/tag_values_client_example_test.go +++ b/resourcemanager/apiv3/tag_values_client_example_test.go @@ -223,6 +223,12 @@ func ExampleTagValuesClient_ListTagValues() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcemanagerpb.ListTagValuesResponse) } } diff --git a/resourcesettings/apiv1/resource_settings_client_example_test.go b/resourcesettings/apiv1/resource_settings_client_example_test.go index 508ca37fc60f..edf362b9bac7 100644 --- a/resourcesettings/apiv1/resource_settings_client_example_test.go +++ b/resourcesettings/apiv1/resource_settings_client_example_test.go @@ -111,6 +111,12 @@ func ExampleClient_ListSettings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*resourcesettingspb.ListSettingsResponse) } } diff --git a/retail/apiv2/analytics_client_example_test.go b/retail/apiv2/analytics_client_example_test.go index d13d49f8c8c1..246a3800bd70 100644 --- a/retail/apiv2/analytics_client_example_test.go +++ b/retail/apiv2/analytics_client_example_test.go @@ -125,5 +125,11 @@ func ExampleAnalyticsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/catalog_client_example_test.go b/retail/apiv2/catalog_client_example_test.go index f95965136aed..56a46e75dcee 100644 --- a/retail/apiv2/catalog_client_example_test.go +++ b/retail/apiv2/catalog_client_example_test.go @@ -170,6 +170,12 @@ func ExampleCatalogClient_ListCatalogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListCatalogsResponse) } } @@ -374,5 +380,11 @@ func ExampleCatalogClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/completion_client_example_test.go b/retail/apiv2/completion_client_example_test.go index c98b92672ce7..dcf12b79aa40 100644 --- a/retail/apiv2/completion_client_example_test.go +++ b/retail/apiv2/completion_client_example_test.go @@ -150,5 +150,11 @@ func ExampleCompletionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/control_client_example_test.go b/retail/apiv2/control_client_example_test.go index c30c43f9903e..9b483a93c7fc 100644 --- a/retail/apiv2/control_client_example_test.go +++ b/retail/apiv2/control_client_example_test.go @@ -143,6 +143,12 @@ func ExampleControlClient_ListControls() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListControlsResponse) } } @@ -224,5 +230,11 @@ func ExampleControlClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/model_client_example_test.go b/retail/apiv2/model_client_example_test.go index 4d9e405b54b3..49ffd6cf5389 100644 --- a/retail/apiv2/model_client_example_test.go +++ b/retail/apiv2/model_client_example_test.go @@ -148,6 +148,12 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListModelsResponse) } } @@ -309,5 +315,11 @@ func ExampleModelClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/prediction_client_example_test.go b/retail/apiv2/prediction_client_example_test.go index 428f97d3bc91..087e07eae1b4 100644 --- a/retail/apiv2/prediction_client_example_test.go +++ b/retail/apiv2/prediction_client_example_test.go @@ -120,5 +120,11 @@ func ExamplePredictionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/product_client_example_test.go b/retail/apiv2/product_client_example_test.go index e9d21d4f5b34..cd7a89d31f69 100644 --- a/retail/apiv2/product_client_example_test.go +++ b/retail/apiv2/product_client_example_test.go @@ -233,6 +233,12 @@ func ExampleProductClient_ListProducts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListProductsResponse) } } @@ -404,5 +410,11 @@ func ExampleProductClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/search_client_example_test.go b/retail/apiv2/search_client_example_test.go index d0027dc9a139..f25131499e1d 100644 --- a/retail/apiv2/search_client_example_test.go +++ b/retail/apiv2/search_client_example_test.go @@ -70,6 +70,12 @@ func ExampleSearchClient_Search() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.SearchResponse) } } @@ -126,5 +132,11 @@ func ExampleSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/serving_config_client_example_test.go b/retail/apiv2/serving_config_client_example_test.go index 5eec65462c2e..831b8abea83c 100644 --- a/retail/apiv2/serving_config_client_example_test.go +++ b/retail/apiv2/serving_config_client_example_test.go @@ -168,6 +168,12 @@ func ExampleServingConfigClient_ListServingConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListServingConfigsResponse) } } @@ -274,5 +280,11 @@ func ExampleServingConfigClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2/user_event_client_example_test.go b/retail/apiv2/user_event_client_example_test.go index 49f59a686130..c136e3cc3467 100644 --- a/retail/apiv2/user_event_client_example_test.go +++ b/retail/apiv2/user_event_client_example_test.go @@ -235,5 +235,11 @@ func ExampleUserEventClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/analytics_client_example_test.go b/retail/apiv2alpha/analytics_client_example_test.go index e05df01aa8a4..e61f4a620c12 100644 --- a/retail/apiv2alpha/analytics_client_example_test.go +++ b/retail/apiv2alpha/analytics_client_example_test.go @@ -142,5 +142,11 @@ func ExampleAnalyticsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/catalog_client_example_test.go b/retail/apiv2alpha/catalog_client_example_test.go index 632e6e4b0610..19d69533d3e3 100644 --- a/retail/apiv2alpha/catalog_client_example_test.go +++ b/retail/apiv2alpha/catalog_client_example_test.go @@ -212,6 +212,12 @@ func ExampleCatalogClient_ListCatalogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListCatalogsResponse) } } @@ -416,5 +422,11 @@ func ExampleCatalogClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/completion_client_example_test.go b/retail/apiv2alpha/completion_client_example_test.go index 9ffaf41692d4..0024b725f54c 100644 --- a/retail/apiv2alpha/completion_client_example_test.go +++ b/retail/apiv2alpha/completion_client_example_test.go @@ -167,5 +167,11 @@ func ExampleCompletionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/control_client_example_test.go b/retail/apiv2alpha/control_client_example_test.go index 663bada8fe60..50ee8d317e77 100644 --- a/retail/apiv2alpha/control_client_example_test.go +++ b/retail/apiv2alpha/control_client_example_test.go @@ -160,6 +160,12 @@ func ExampleControlClient_ListControls() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListControlsResponse) } } @@ -241,5 +247,11 @@ func ExampleControlClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/merchant_center_account_link_client_example_test.go b/retail/apiv2alpha/merchant_center_account_link_client_example_test.go index 389132a10fa6..28b69d0a6117 100644 --- a/retail/apiv2alpha/merchant_center_account_link_client_example_test.go +++ b/retail/apiv2alpha/merchant_center_account_link_client_example_test.go @@ -190,5 +190,11 @@ func ExampleMerchantCenterAccountLinkClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/model_client_example_test.go b/retail/apiv2alpha/model_client_example_test.go index 9addb96d8742..860802a39947 100644 --- a/retail/apiv2alpha/model_client_example_test.go +++ b/retail/apiv2alpha/model_client_example_test.go @@ -165,6 +165,12 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListModelsResponse) } } @@ -326,5 +332,11 @@ func ExampleModelClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/prediction_client_example_test.go b/retail/apiv2alpha/prediction_client_example_test.go index 706e86015d6a..04ecd7ed0155 100644 --- a/retail/apiv2alpha/prediction_client_example_test.go +++ b/retail/apiv2alpha/prediction_client_example_test.go @@ -137,5 +137,11 @@ func ExamplePredictionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/product_client_example_test.go b/retail/apiv2alpha/product_client_example_test.go index 594def385398..ef2272852407 100644 --- a/retail/apiv2alpha/product_client_example_test.go +++ b/retail/apiv2alpha/product_client_example_test.go @@ -250,6 +250,12 @@ func ExampleProductClient_ListProducts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListProductsResponse) } } @@ -451,5 +457,11 @@ func ExampleProductClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/search_client_example_test.go b/retail/apiv2alpha/search_client_example_test.go index 570ec3aeaa6a..8a2f307a62de 100644 --- a/retail/apiv2alpha/search_client_example_test.go +++ b/retail/apiv2alpha/search_client_example_test.go @@ -87,6 +87,12 @@ func ExampleSearchClient_Search() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.SearchResponse) } } @@ -143,5 +149,11 @@ func ExampleSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/serving_config_client_example_test.go b/retail/apiv2alpha/serving_config_client_example_test.go index afb03ac5c683..fb62a32e4db2 100644 --- a/retail/apiv2alpha/serving_config_client_example_test.go +++ b/retail/apiv2alpha/serving_config_client_example_test.go @@ -185,6 +185,12 @@ func ExampleServingConfigClient_ListServingConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListServingConfigsResponse) } } @@ -291,5 +297,11 @@ func ExampleServingConfigClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2alpha/user_event_client_example_test.go b/retail/apiv2alpha/user_event_client_example_test.go index 76ec094f6519..2841bb7ba470 100644 --- a/retail/apiv2alpha/user_event_client_example_test.go +++ b/retail/apiv2alpha/user_event_client_example_test.go @@ -252,5 +252,11 @@ func ExampleUserEventClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/analytics_client_example_test.go b/retail/apiv2beta/analytics_client_example_test.go index cd530c19e2d1..357f9203857a 100644 --- a/retail/apiv2beta/analytics_client_example_test.go +++ b/retail/apiv2beta/analytics_client_example_test.go @@ -142,5 +142,11 @@ func ExampleAnalyticsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/catalog_client_example_test.go b/retail/apiv2beta/catalog_client_example_test.go index cd9a01ce352d..b91dadff4465 100644 --- a/retail/apiv2beta/catalog_client_example_test.go +++ b/retail/apiv2beta/catalog_client_example_test.go @@ -212,6 +212,12 @@ func ExampleCatalogClient_ListCatalogs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListCatalogsResponse) } } @@ -416,5 +422,11 @@ func ExampleCatalogClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/completion_client_example_test.go b/retail/apiv2beta/completion_client_example_test.go index 633b29dba961..0ce84e1ac895 100644 --- a/retail/apiv2beta/completion_client_example_test.go +++ b/retail/apiv2beta/completion_client_example_test.go @@ -167,5 +167,11 @@ func ExampleCompletionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/control_client_example_test.go b/retail/apiv2beta/control_client_example_test.go index 304b4b01e027..40cae0cb1f08 100644 --- a/retail/apiv2beta/control_client_example_test.go +++ b/retail/apiv2beta/control_client_example_test.go @@ -160,6 +160,12 @@ func ExampleControlClient_ListControls() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListControlsResponse) } } @@ -241,5 +247,11 @@ func ExampleControlClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/model_client_example_test.go b/retail/apiv2beta/model_client_example_test.go index 582517e173c6..a68da7e9b8f8 100644 --- a/retail/apiv2beta/model_client_example_test.go +++ b/retail/apiv2beta/model_client_example_test.go @@ -165,6 +165,12 @@ func ExampleModelClient_ListModels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListModelsResponse) } } @@ -326,5 +332,11 @@ func ExampleModelClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/prediction_client_example_test.go b/retail/apiv2beta/prediction_client_example_test.go index a09f79573efe..296bf6b839e7 100644 --- a/retail/apiv2beta/prediction_client_example_test.go +++ b/retail/apiv2beta/prediction_client_example_test.go @@ -137,5 +137,11 @@ func ExamplePredictionClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/product_client_example_test.go b/retail/apiv2beta/product_client_example_test.go index 33c2e9d4137a..703691a21bc2 100644 --- a/retail/apiv2beta/product_client_example_test.go +++ b/retail/apiv2beta/product_client_example_test.go @@ -250,6 +250,12 @@ func ExampleProductClient_ListProducts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListProductsResponse) } } @@ -421,5 +427,11 @@ func ExampleProductClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/search_client_example_test.go b/retail/apiv2beta/search_client_example_test.go index 213ee8493302..075c91f9d561 100644 --- a/retail/apiv2beta/search_client_example_test.go +++ b/retail/apiv2beta/search_client_example_test.go @@ -87,6 +87,12 @@ func ExampleSearchClient_Search() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.SearchResponse) } } @@ -143,5 +149,11 @@ func ExampleSearchClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/serving_config_client_example_test.go b/retail/apiv2beta/serving_config_client_example_test.go index d3297b29a38a..e34adf18c00b 100644 --- a/retail/apiv2beta/serving_config_client_example_test.go +++ b/retail/apiv2beta/serving_config_client_example_test.go @@ -185,6 +185,12 @@ func ExampleServingConfigClient_ListServingConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*retailpb.ListServingConfigsResponse) } } @@ -291,5 +297,11 @@ func ExampleServingConfigClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/retail/apiv2beta/user_event_client_example_test.go b/retail/apiv2beta/user_event_client_example_test.go index 7b8892d18353..1b799fa213d4 100644 --- a/retail/apiv2beta/user_event_client_example_test.go +++ b/retail/apiv2beta/user_event_client_example_test.go @@ -252,5 +252,11 @@ func ExampleUserEventClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/run/apiv2/executions_client_example_test.go b/run/apiv2/executions_client_example_test.go index 58fba5b149c6..716e65e666ec 100644 --- a/run/apiv2/executions_client_example_test.go +++ b/run/apiv2/executions_client_example_test.go @@ -172,6 +172,12 @@ func ExampleExecutionsClient_ListExecutions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListExecutionsResponse) } } @@ -251,6 +257,12 @@ func ExampleExecutionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/run/apiv2/jobs_client_example_test.go b/run/apiv2/jobs_client_example_test.go index 35661787ea09..1c46ffa0d4d6 100644 --- a/run/apiv2/jobs_client_example_test.go +++ b/run/apiv2/jobs_client_example_test.go @@ -198,6 +198,12 @@ func ExampleJobsClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListJobsResponse) } } @@ -387,6 +393,12 @@ func ExampleJobsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/run/apiv2/revisions_client_example_test.go b/run/apiv2/revisions_client_example_test.go index 50e6745df0ff..062f73fc898b 100644 --- a/run/apiv2/revisions_client_example_test.go +++ b/run/apiv2/revisions_client_example_test.go @@ -142,6 +142,12 @@ func ExampleRevisionsClient_ListRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListRevisionsResponse) } } @@ -221,6 +227,12 @@ func ExampleRevisionsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/run/apiv2/services_client_example_test.go b/run/apiv2/services_client_example_test.go index 372d4797edf1..c5e273a6752c 100644 --- a/run/apiv2/services_client_example_test.go +++ b/run/apiv2/services_client_example_test.go @@ -198,6 +198,12 @@ func ExampleServicesClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListServicesResponse) } } @@ -357,6 +363,12 @@ func ExampleServicesClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/run/apiv2/tasks_client_example_test.go b/run/apiv2/tasks_client_example_test.go index 43f9a1718034..734367aa3332 100644 --- a/run/apiv2/tasks_client_example_test.go +++ b/run/apiv2/tasks_client_example_test.go @@ -112,6 +112,12 @@ func ExampleTasksClient_ListTasks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*runpb.ListTasksResponse) } } @@ -191,6 +197,12 @@ func ExampleTasksClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/scheduler/apiv1/cloud_scheduler_client_example_test.go b/scheduler/apiv1/cloud_scheduler_client_example_test.go index c65bb29b7b34..802c2b740332 100644 --- a/scheduler/apiv1/cloud_scheduler_client_example_test.go +++ b/scheduler/apiv1/cloud_scheduler_client_example_test.go @@ -160,6 +160,12 @@ func ExampleCloudSchedulerClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*schedulerpb.ListJobsResponse) } } @@ -316,5 +322,11 @@ func ExampleCloudSchedulerClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/scheduler/apiv1beta1/cloud_scheduler_client_example_test.go b/scheduler/apiv1beta1/cloud_scheduler_client_example_test.go index 7f7a7cf9a7a4..d631154dd0c2 100644 --- a/scheduler/apiv1beta1/cloud_scheduler_client_example_test.go +++ b/scheduler/apiv1beta1/cloud_scheduler_client_example_test.go @@ -160,6 +160,12 @@ func ExampleCloudSchedulerClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*schedulerpb.ListJobsResponse) } } @@ -316,5 +322,11 @@ func ExampleCloudSchedulerClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/secretmanager/apiv1/secret_manager_client_example_test.go b/secretmanager/apiv1/secret_manager_client_example_test.go index 99883221a2db..9b8a306feb81 100644 --- a/secretmanager/apiv1/secret_manager_client_example_test.go +++ b/secretmanager/apiv1/secret_manager_client_example_test.go @@ -335,6 +335,12 @@ func ExampleClient_ListSecretVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretVersionsResponse) } } @@ -366,6 +372,12 @@ func ExampleClient_ListSecrets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretsResponse) } } diff --git a/secretmanager/apiv1beta2/secret_manager_client_example_test.go b/secretmanager/apiv1beta2/secret_manager_client_example_test.go index 25e27f3bd495..8c8060da3e25 100644 --- a/secretmanager/apiv1beta2/secret_manager_client_example_test.go +++ b/secretmanager/apiv1beta2/secret_manager_client_example_test.go @@ -336,6 +336,12 @@ func ExampleClient_ListSecretVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretVersionsResponse) } } @@ -367,6 +373,12 @@ func ExampleClient_ListSecrets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*secretmanagerpb.ListSecretsResponse) } } @@ -498,5 +510,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/securesourcemanager/apiv1/secure_source_manager_client_example_test.go b/securesourcemanager/apiv1/secure_source_manager_client_example_test.go index c245edc39ab5..f40e2ded252d 100644 --- a/securesourcemanager/apiv1/secure_source_manager_client_example_test.go +++ b/securesourcemanager/apiv1/secure_source_manager_client_example_test.go @@ -280,6 +280,12 @@ func ExampleClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securesourcemanagerpb.ListInstancesResponse) } } @@ -311,6 +317,12 @@ func ExampleClient_ListRepositories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securesourcemanagerpb.ListRepositoriesResponse) } } @@ -417,6 +429,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -594,5 +612,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/security/privateca/apiv1/certificate_authority_client_example_test.go b/security/privateca/apiv1/certificate_authority_client_example_test.go index 930ebbc0222b..58f051aa0629 100644 --- a/security/privateca/apiv1/certificate_authority_client_example_test.go +++ b/security/privateca/apiv1/certificate_authority_client_example_test.go @@ -555,6 +555,12 @@ func ExampleCertificateAuthorityClient_ListCaPools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCaPoolsResponse) } } @@ -586,6 +592,12 @@ func ExampleCertificateAuthorityClient_ListCertificateAuthorities() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificateAuthoritiesResponse) } } @@ -617,6 +629,12 @@ func ExampleCertificateAuthorityClient_ListCertificateRevocationLists() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificateRevocationListsResponse) } } @@ -648,6 +666,12 @@ func ExampleCertificateAuthorityClient_ListCertificateTemplates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificateTemplatesResponse) } } @@ -679,6 +703,12 @@ func ExampleCertificateAuthorityClient_ListCertificates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*privatecapb.ListCertificatesResponse) } } @@ -935,6 +965,12 @@ func ExampleCertificateAuthorityClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1112,5 +1148,11 @@ func ExampleCertificateAuthorityClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/securitycenter/apiv1/security_center_client_example_test.go b/securitycenter/apiv1/security_center_client_example_test.go index 3d2e30a93e0a..e25241e03ee5 100644 --- a/securitycenter/apiv1/security_center_client_example_test.go +++ b/securitycenter/apiv1/security_center_client_example_test.go @@ -560,6 +560,12 @@ func ExampleClient_GroupAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupAssetsResponse) } } @@ -591,6 +597,12 @@ func ExampleClient_GroupFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } @@ -622,6 +634,12 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAssetsResponse) } } @@ -653,6 +671,12 @@ func ExampleClient_ListBigQueryExports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListBigQueryExportsResponse) } } @@ -684,6 +708,12 @@ func ExampleClient_ListDescendantSecurityHealthAnalyticsCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListDescendantSecurityHealthAnalyticsCustomModulesResponse) } } @@ -715,6 +745,12 @@ func ExampleClient_ListEffectiveSecurityHealthAnalyticsCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) } } @@ -746,6 +782,12 @@ func ExampleClient_ListFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } @@ -777,6 +819,12 @@ func ExampleClient_ListMuteConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListMuteConfigsResponse) } } @@ -808,6 +856,12 @@ func ExampleClient_ListNotificationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListNotificationConfigsResponse) } } @@ -839,6 +893,12 @@ func ExampleClient_ListSecurityHealthAnalyticsCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSecurityHealthAnalyticsCustomModulesResponse) } } @@ -870,6 +930,12 @@ func ExampleClient_ListSources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } @@ -1352,5 +1418,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/securitycenter/apiv1/securitycenterpb/finding.pb.go b/securitycenter/apiv1/securitycenterpb/finding.pb.go index fb5e120bb702..c67d76a38be4 100755 --- a/securitycenter/apiv1/securitycenterpb/finding.pb.go +++ b/securitycenter/apiv1/securitycenterpb/finding.pb.go @@ -494,6 +494,8 @@ type Finding struct { LogEntries []*LogEntry `protobuf:"bytes,57,rep,name=log_entries,json=logEntries,proto3" json:"log_entries,omitempty"` // The load balancers associated with the finding. LoadBalancers []*LoadBalancer `protobuf:"bytes,58,rep,name=load_balancers,json=loadBalancers,proto3" json:"load_balancers,omitempty"` + // Notebook associated with the finding. + Notebook *Notebook `protobuf:"bytes,63,opt,name=notebook,proto3" json:"notebook,omitempty"` } func (x *Finding) Reset() { @@ -836,6 +838,13 @@ func (x *Finding) GetLoadBalancers() []*LoadBalancer { return nil } +func (x *Finding) GetNotebook() *Notebook { + if x != nil { + return x.Notebook + } + return nil +} + var File_google_cloud_securitycenter_v1_finding_proto protoreflect.FileDescriptor var file_google_cloud_securitycenter_v1_finding_proto_rawDesc = []byte{ @@ -911,290 +920,297 @@ var file_google_cloud_securitycenter_v1_finding_proto_rawDesc = []byte{ 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x69, 0x74, 0x72, 0x65, 0x5f, 0x61, 0x74, - 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, + 0x74, 0x61, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, - 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x5f, 0x70, - 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x63, - 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x62, + 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, - 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, - 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x75, 0x72, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, - 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, - 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x1f, 0x0a, 0x07, 0x46, 0x69, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, - 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, - 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x69, 0x12, 0x6a, 0x0a, 0x11, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, - 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, - 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x42, 0x03, 0xe0, 0x41, - 0x03, 0x52, 0x0d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, - 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, - 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, - 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, - 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, + 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x5f, 0x70, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x6f, 0x63, 0x65, + 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, + 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xca, 0x1f, 0x0a, 0x07, 0x46, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, + 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, + 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, + 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x78, 0x74, + 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x55, 0x72, 0x69, 0x12, 0x6a, 0x0a, 0x11, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x6f, 0x75, + 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x0e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x03, + 0x52, 0x0d, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x4d, 0x61, 0x72, 0x6b, 0x73, 0x12, + 0x39, 0x0a, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, + 0x09, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, + 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, + 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, + 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, + 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, + 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, + 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x04, + 0x6d, 0x75, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, - 0x69, 0x6e, 0x67, 0x2e, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, - 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, - 0x63, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x63, 0x61, 0x6e, 0x6f, 0x6e, 0x69, 0x63, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, - 0x04, 0x6d, 0x75, 0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, - 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x04, 0x6d, 0x75, 0x74, 0x65, 0x12, - 0x59, 0x0a, 0x0d, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, - 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x69, 0x6e, 0x67, 0x2e, 0x4d, 0x75, 0x74, 0x65, 0x52, 0x04, 0x6d, 0x75, 0x74, 0x65, 0x12, 0x59, + 0x0a, 0x0d, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x46, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0c, 0x66, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x09, 0x69, 0x6e, 0x64, + 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, + 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, + 0x6f, 0x72, 0x12, 0x53, 0x0a, 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, 0x65, + 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x10, 0x6d, 0x75, 0x74, 0x65, 0x5f, + 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, + 0x41, 0x03, 0x52, 0x0e, 0x6d, 0x75, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, + 0x6d, 0x65, 0x12, 0x6c, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x73, + 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, + 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, + 0x12, 0x4e, 0x0a, 0x0c, 0x6d, 0x69, 0x74, 0x72, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, - 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0c, 0x66, 0x69, - 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x47, 0x0a, 0x09, 0x69, 0x6e, - 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x49, - 0x6e, 0x64, 0x69, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x69, 0x63, 0x61, - 0x74, 0x6f, 0x72, 0x12, 0x53, 0x0a, 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x75, 0x6c, 0x6e, - 0x65, 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x0d, 0x76, 0x75, 0x6c, 0x6e, 0x65, - 0x72, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x49, 0x0a, 0x10, 0x6d, 0x75, 0x74, 0x65, - 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x15, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, - 0xe0, 0x41, 0x03, 0x52, 0x0e, 0x6d, 0x75, 0x74, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, - 0x69, 0x6d, 0x65, 0x12, 0x6c, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, - 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, - 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, - 0x52, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, - 0x73, 0x12, 0x4e, 0x0a, 0x0c, 0x6d, 0x69, 0x74, 0x72, 0x65, 0x5f, 0x61, 0x74, 0x74, 0x61, 0x63, - 0x6b, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x74, 0x72, 0x65, 0x41, 0x74, - 0x74, 0x61, 0x63, 0x6b, 0x52, 0x0b, 0x6d, 0x69, 0x74, 0x72, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, - 0x6b, 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x69, 0x74, 0x72, 0x65, 0x41, 0x74, 0x74, + 0x61, 0x63, 0x6b, 0x52, 0x0b, 0x6d, 0x69, 0x74, 0x72, 0x65, 0x41, 0x74, 0x74, 0x61, 0x63, 0x6b, + 0x12, 0x3e, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x12, 0x4c, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, + 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, + 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, + 0x0a, 0x0e, 0x6d, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, + 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x69, 0x74, + 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, + 0x65, 0x73, 0x18, 0x1e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x73, + 0x73, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x08, + 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, + 0x61, 0x63, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, + 0x63, 0x65, 0x73, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, + 0x69, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, 0x63, + 0x65, 0x73, 0x12, 0x33, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, 0x73, + 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x42, + 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, 0x70, + 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0c, 0x65, 0x78, 0x66, + 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x26, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, + 0x2e, 0x45, 0x78, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, + 0x78, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x0c, 0x69, + 0x61, 0x6d, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x27, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, - 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x1f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x69, + 0x61, 0x6d, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x65, + 0x78, 0x74, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x6e, 0x65, 0x78, 0x74, 0x53, 0x74, 0x65, 0x70, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, + 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, + 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x61, + 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x4a, 0x0a, 0x0a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, + 0x74, 0x65, 0x73, 0x18, 0x2b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x72, + 0x6e, 0x65, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, + 0x73, 0x12, 0x44, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x2c, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x08, 0x64, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, + 0x18, 0x2e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, - 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x25, 0x0a, 0x0e, 0x6d, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, - 0x72, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x69, - 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x45, 0x0a, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, - 0x73, 0x65, 0x73, 0x18, 0x1e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, 0x69, + 0x6c, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x14, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x64, 0x6c, 0x70, + 0x5f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x30, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, + 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, 0x49, 0x6e, 0x73, 0x70, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, 0x49, + 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x68, 0x0a, 0x16, 0x63, 0x6c, 0x6f, + 0x75, 0x64, 0x5f, 0x64, 0x6c, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x18, 0x31, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, - 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, - 0x73, 0x73, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x56, 0x0a, - 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x18, 0x21, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, - 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x08, 0x63, 0x6f, 0x6e, - 0x74, 0x61, 0x63, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, - 0x6e, 0x63, 0x65, 0x73, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, - 0x6c, 0x69, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x69, 0x61, 0x6e, - 0x63, 0x65, 0x73, 0x12, 0x33, 0x0a, 0x13, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x64, 0x69, - 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, - 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x44, 0x69, 0x73, - 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, - 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0c, 0x65, 0x78, - 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x26, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, - 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, - 0x31, 0x2e, 0x45, 0x78, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, - 0x65, 0x78, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4d, 0x0a, 0x0c, - 0x69, 0x61, 0x6d, 0x5f, 0x62, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x27, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, - 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, - 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x61, 0x6d, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x0b, - 0x69, 0x61, 0x6d, 0x42, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, - 0x65, 0x78, 0x74, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x6e, 0x65, 0x78, 0x74, 0x53, 0x74, 0x65, 0x70, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x63, - 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x2a, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x44, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x13, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x66, + 0x69, 0x6c, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x72, 0x6f, + 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, + 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, 0x72, + 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x52, 0x0d, 0x6b, 0x65, 0x72, 0x6e, + 0x65, 0x6c, 0x52, 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x6f, 0x72, 0x67, + 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x33, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, - 0x61, 0x69, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x4a, 0x0a, 0x0a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, - 0x65, 0x74, 0x65, 0x73, 0x18, 0x2b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x75, 0x62, 0x65, - 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, - 0x65, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x2c, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x52, 0x08, - 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, - 0x73, 0x18, 0x2e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, - 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x12, 0x64, 0x0a, 0x14, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x64, 0x6c, - 0x70, 0x5f, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x30, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, - 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, - 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, 0x49, 0x6e, 0x73, 0x70, - 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, - 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x68, 0x0a, 0x16, 0x63, 0x6c, - 0x6f, 0x75, 0x64, 0x5f, 0x64, 0x6c, 0x70, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x70, 0x72, 0x6f, - 0x66, 0x69, 0x6c, 0x65, 0x18, 0x31, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x6f, 0x75, - 0x64, 0x44, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, - 0x13, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x44, 0x6c, 0x70, 0x44, 0x61, 0x74, 0x61, 0x50, 0x72, 0x6f, - 0x66, 0x69, 0x6c, 0x65, 0x12, 0x54, 0x0a, 0x0e, 0x6b, 0x65, 0x72, 0x6e, 0x65, 0x6c, 0x5f, 0x72, - 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x18, 0x32, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, + 0x2e, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0b, 0x6f, 0x72, 0x67, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, - 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4b, 0x65, - 0x72, 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x52, 0x0d, 0x6b, 0x65, 0x72, - 0x6e, 0x65, 0x6c, 0x52, 0x6f, 0x6f, 0x74, 0x6b, 0x69, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x6f, 0x72, - 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x33, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, + 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, 0x69, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x70, 0x0a, 0x18, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x5f, 0x64, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, + 0x72, 0x79, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, + 0x44, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, + 0x52, 0x16, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, 0x72, + 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, + 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x75, 0x72, 0x65, 0x18, 0x38, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, + 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x73, 0x74, + 0x75, 0x72, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x73, + 0x74, 0x75, 0x72, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x74, 0x72, + 0x69, 0x65, 0x73, 0x18, 0x39, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, + 0x53, 0x0a, 0x0e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, + 0x73, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, + 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, + 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x0d, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, + 0x63, 0x65, 0x72, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, + 0x18, 0x3f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, + 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, + 0x52, 0x08, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x1a, 0x5b, 0x0a, 0x15, 0x53, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x72, 0x0a, 0x14, 0x45, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, - 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0b, 0x6f, 0x72, 0x67, - 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x4d, 0x0a, 0x0b, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x35, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, + 0x31, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6b, 0x0a, 0x0d, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, - 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x61, 0x70, 0x70, 0x6c, - 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x70, 0x0a, 0x18, 0x62, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x76, - 0x65, 0x72, 0x79, 0x18, 0x37, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, - 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x63, 0x6b, 0x75, - 0x70, 0x44, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, - 0x79, 0x52, 0x16, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x44, 0x69, 0x73, 0x61, 0x73, 0x74, 0x65, - 0x72, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x12, 0x5a, 0x0a, 0x10, 0x73, 0x65, 0x63, - 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x6f, 0x73, 0x74, 0x75, 0x72, 0x65, 0x18, 0x38, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, - 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, - 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, 0x73, - 0x74, 0x75, 0x72, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x50, 0x6f, - 0x73, 0x74, 0x75, 0x72, 0x65, 0x12, 0x49, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x65, 0x6e, 0x74, - 0x72, 0x69, 0x65, 0x73, 0x18, 0x39, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x38, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, + 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, + 0x10, 0x02, 0x22, 0x51, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, + 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x49, 0x54, + 0x49, 0x43, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x02, + 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, + 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x22, 0x43, 0x0a, 0x04, 0x4d, 0x75, 0x74, 0x65, 0x12, 0x14, 0x0a, + 0x10, 0x4d, 0x55, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x55, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, + 0x0a, 0x07, 0x55, 0x4e, 0x4d, 0x55, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x55, + 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x04, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x46, + 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x46, + 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x53, + 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x48, + 0x52, 0x45, 0x41, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x55, 0x4c, 0x4e, 0x45, 0x52, + 0x41, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x49, 0x53, + 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, + 0x0f, 0x0a, 0x0b, 0x4f, 0x42, 0x53, 0x45, 0x52, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, + 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43, 0x43, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, + 0x15, 0x0a, 0x11, 0x50, 0x4f, 0x53, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, + 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x06, 0x3a, 0xdb, 0x01, 0xea, 0x41, 0xd7, 0x01, 0x0a, 0x25, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x12, 0x40, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x7d, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, + 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x12, 0x34, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, + 0x7b, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x7d, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, + 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x12, 0x36, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, + 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, + 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x7d, 0x42, 0xd8, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, - 0x12, 0x53, 0x0a, 0x0e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, - 0x72, 0x73, 0x18, 0x3a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, - 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x42, 0x61, - 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x72, 0x52, 0x0d, 0x6c, 0x6f, 0x61, 0x64, 0x42, 0x61, 0x6c, 0x61, - 0x6e, 0x63, 0x65, 0x72, 0x73, 0x1a, 0x5b, 0x0a, 0x15, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, - 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, - 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, - 0x38, 0x01, 0x1a, 0x72, 0x0a, 0x14, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x79, - 0x73, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, - 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, - 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x74, - 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x6b, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, - 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x44, 0x0a, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, - 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, - 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, - 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0x38, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, - 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, - 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x02, 0x22, 0x51, 0x0a, - 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, - 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, - 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x52, 0x49, 0x54, 0x49, 0x43, 0x41, 0x4c, 0x10, - 0x01, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x49, 0x47, 0x48, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x4d, - 0x45, 0x44, 0x49, 0x55, 0x4d, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x4c, 0x4f, 0x57, 0x10, 0x04, - 0x22, 0x43, 0x0a, 0x04, 0x4d, 0x75, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x55, 0x54, 0x45, - 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, - 0x0a, 0x05, 0x4d, 0x55, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4d, - 0x55, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, - 0x4e, 0x45, 0x44, 0x10, 0x04, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, - 0x67, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x49, 0x4e, 0x44, 0x49, 0x4e, - 0x47, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x54, 0x48, 0x52, 0x45, 0x41, 0x54, 0x10, - 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x56, 0x55, 0x4c, 0x4e, 0x45, 0x52, 0x41, 0x42, 0x49, 0x4c, 0x49, - 0x54, 0x59, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x49, 0x53, 0x43, 0x4f, 0x4e, 0x46, 0x49, - 0x47, 0x55, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x42, - 0x53, 0x45, 0x52, 0x56, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x53, - 0x43, 0x43, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x4f, - 0x53, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, - 0x06, 0x3a, 0xdb, 0x01, 0xea, 0x41, 0xd7, 0x01, 0x0a, 0x25, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, - 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x46, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, - 0x40, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, - 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d, 0x2f, 0x66, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, - 0x7d, 0x12, 0x34, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x7b, 0x66, 0x6f, 0x6c, 0x64, - 0x65, 0x72, 0x7d, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, - 0x72, 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, - 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x12, 0x36, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, - 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x73, 0x6f, 0x75, 0x72, - 0x63, 0x65, 0x73, 0x2f, 0x7b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x7d, 0x2f, 0x66, 0x69, 0x6e, - 0x64, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x7b, 0x66, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x7d, 0x42, - 0xd8, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, - 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, - 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, - 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, - 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, - 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, - 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, - 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, - 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, - 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, - 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x4a, 0x63, + 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, + 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1e, 0x47, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, + 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x21, 0x47, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1244,9 +1260,10 @@ var file_google_cloud_securitycenter_v1_finding_proto_goTypes = []interface{}{ (*SecurityPosture)(nil), // 29: google.cloud.securitycenter.v1.SecurityPosture (*LogEntry)(nil), // 30: google.cloud.securitycenter.v1.LogEntry (*LoadBalancer)(nil), // 31: google.cloud.securitycenter.v1.LoadBalancer - (*structpb.Value)(nil), // 32: google.protobuf.Value - (*ExternalSystem)(nil), // 33: google.cloud.securitycenter.v1.ExternalSystem - (*ContactDetails)(nil), // 34: google.cloud.securitycenter.v1.ContactDetails + (*Notebook)(nil), // 32: google.cloud.securitycenter.v1.Notebook + (*structpb.Value)(nil), // 33: google.protobuf.Value + (*ExternalSystem)(nil), // 34: google.cloud.securitycenter.v1.ExternalSystem + (*ContactDetails)(nil), // 35: google.cloud.securitycenter.v1.ContactDetails } var file_google_cloud_securitycenter_v1_finding_proto_depIdxs = []int32{ 0, // 0: google.cloud.securitycenter.v1.Finding.state:type_name -> google.cloud.securitycenter.v1.Finding.State @@ -1282,14 +1299,15 @@ var file_google_cloud_securitycenter_v1_finding_proto_depIdxs = []int32{ 29, // 30: google.cloud.securitycenter.v1.Finding.security_posture:type_name -> google.cloud.securitycenter.v1.SecurityPosture 30, // 31: google.cloud.securitycenter.v1.Finding.log_entries:type_name -> google.cloud.securitycenter.v1.LogEntry 31, // 32: google.cloud.securitycenter.v1.Finding.load_balancers:type_name -> google.cloud.securitycenter.v1.LoadBalancer - 32, // 33: google.cloud.securitycenter.v1.Finding.SourcePropertiesEntry.value:type_name -> google.protobuf.Value - 33, // 34: google.cloud.securitycenter.v1.Finding.ExternalSystemsEntry.value:type_name -> google.cloud.securitycenter.v1.ExternalSystem - 34, // 35: google.cloud.securitycenter.v1.Finding.ContactsEntry.value:type_name -> google.cloud.securitycenter.v1.ContactDetails - 36, // [36:36] is the sub-list for method output_type - 36, // [36:36] is the sub-list for method input_type - 36, // [36:36] is the sub-list for extension type_name - 36, // [36:36] is the sub-list for extension extendee - 0, // [0:36] is the sub-list for field type_name + 32, // 33: google.cloud.securitycenter.v1.Finding.notebook:type_name -> google.cloud.securitycenter.v1.Notebook + 33, // 34: google.cloud.securitycenter.v1.Finding.SourcePropertiesEntry.value:type_name -> google.protobuf.Value + 34, // 35: google.cloud.securitycenter.v1.Finding.ExternalSystemsEntry.value:type_name -> google.cloud.securitycenter.v1.ExternalSystem + 35, // 36: google.cloud.securitycenter.v1.Finding.ContactsEntry.value:type_name -> google.cloud.securitycenter.v1.ContactDetails + 37, // [37:37] is the sub-list for method output_type + 37, // [37:37] is the sub-list for method input_type + 37, // [37:37] is the sub-list for extension type_name + 37, // [37:37] is the sub-list for extension extendee + 0, // [0:37] is the sub-list for field type_name } func init() { file_google_cloud_securitycenter_v1_finding_proto_init() } @@ -1317,6 +1335,7 @@ func file_google_cloud_securitycenter_v1_finding_proto_init() { file_google_cloud_securitycenter_v1_load_balancer_proto_init() file_google_cloud_securitycenter_v1_log_entry_proto_init() file_google_cloud_securitycenter_v1_mitre_attack_proto_init() + file_google_cloud_securitycenter_v1_notebook_proto_init() file_google_cloud_securitycenter_v1_org_policy_proto_init() file_google_cloud_securitycenter_v1_process_proto_init() file_google_cloud_securitycenter_v1_security_marks_proto_init() diff --git a/securitycenter/apiv1/securitycenterpb/notebook.pb.go b/securitycenter/apiv1/securitycenterpb/notebook.pb.go new file mode 100755 index 000000000000..309fb8de4666 --- /dev/null +++ b/securitycenter/apiv1/securitycenterpb/notebook.pb.go @@ -0,0 +1,218 @@ +// Copyright 2023 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.32.0 +// protoc v4.25.2 +// source: google/cloud/securitycenter/v1/notebook.proto + +package securitycenterpb + +import ( + reflect "reflect" + sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + timestamppb "google.golang.org/protobuf/types/known/timestamppb" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Represents a Jupyter notebook IPYNB file, such as a [Colab Enterprise +// notebook](https://cloud.google.com/colab/docs/introduction) file, that is +// associated with a finding. +type Notebook struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the notebook. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The source notebook service, for example, "Colab Enterprise". + Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"` + // The user ID of the latest author to modify the notebook. + LastAuthor string `protobuf:"bytes,3,opt,name=last_author,json=lastAuthor,proto3" json:"last_author,omitempty"` + // The most recent time the notebook was updated. + NotebookUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=notebook_update_time,json=notebookUpdateTime,proto3" json:"notebook_update_time,omitempty"` +} + +func (x *Notebook) Reset() { + *x = Notebook{} + if protoimpl.UnsafeEnabled { + mi := &file_google_cloud_securitycenter_v1_notebook_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Notebook) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Notebook) ProtoMessage() {} + +func (x *Notebook) ProtoReflect() protoreflect.Message { + mi := &file_google_cloud_securitycenter_v1_notebook_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Notebook.ProtoReflect.Descriptor instead. +func (*Notebook) Descriptor() ([]byte, []int) { + return file_google_cloud_securitycenter_v1_notebook_proto_rawDescGZIP(), []int{0} +} + +func (x *Notebook) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Notebook) GetService() string { + if x != nil { + return x.Service + } + return "" +} + +func (x *Notebook) GetLastAuthor() string { + if x != nil { + return x.LastAuthor + } + return "" +} + +func (x *Notebook) GetNotebookUpdateTime() *timestamppb.Timestamp { + if x != nil { + return x.NotebookUpdateTime + } + return nil +} + +var File_google_cloud_securitycenter_v1_notebook_proto protoreflect.FileDescriptor + +var file_google_cloud_securitycenter_v1_notebook_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, + 0x2f, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, + 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0xa7, 0x01, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, + 0x61, 0x73, 0x74, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x4c, 0x0a, 0x14, + 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, + 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x12, 0x6e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x42, 0xe7, 0x01, 0x0a, 0x22, 0x63, + 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, + 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x76, + 0x31, 0x42, 0x0d, 0x4e, 0x6f, 0x74, 0x65, 0x62, 0x6f, 0x6f, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x50, 0x01, 0x5a, 0x4a, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, + 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x63, + 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x62, 0xaa, 0x02, + 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x65, + 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, + 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, + 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, + 0xea, 0x02, 0x21, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, + 0x3a, 0x3a, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, + 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_google_cloud_securitycenter_v1_notebook_proto_rawDescOnce sync.Once + file_google_cloud_securitycenter_v1_notebook_proto_rawDescData = file_google_cloud_securitycenter_v1_notebook_proto_rawDesc +) + +func file_google_cloud_securitycenter_v1_notebook_proto_rawDescGZIP() []byte { + file_google_cloud_securitycenter_v1_notebook_proto_rawDescOnce.Do(func() { + file_google_cloud_securitycenter_v1_notebook_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_securitycenter_v1_notebook_proto_rawDescData) + }) + return file_google_cloud_securitycenter_v1_notebook_proto_rawDescData +} + +var file_google_cloud_securitycenter_v1_notebook_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_google_cloud_securitycenter_v1_notebook_proto_goTypes = []interface{}{ + (*Notebook)(nil), // 0: google.cloud.securitycenter.v1.Notebook + (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp +} +var file_google_cloud_securitycenter_v1_notebook_proto_depIdxs = []int32{ + 1, // 0: google.cloud.securitycenter.v1.Notebook.notebook_update_time:type_name -> google.protobuf.Timestamp + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_google_cloud_securitycenter_v1_notebook_proto_init() } +func file_google_cloud_securitycenter_v1_notebook_proto_init() { + if File_google_cloud_securitycenter_v1_notebook_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_google_cloud_securitycenter_v1_notebook_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Notebook); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_google_cloud_securitycenter_v1_notebook_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_google_cloud_securitycenter_v1_notebook_proto_goTypes, + DependencyIndexes: file_google_cloud_securitycenter_v1_notebook_proto_depIdxs, + MessageInfos: file_google_cloud_securitycenter_v1_notebook_proto_msgTypes, + }.Build() + File_google_cloud_securitycenter_v1_notebook_proto = out.File + file_google_cloud_securitycenter_v1_notebook_proto_rawDesc = nil + file_google_cloud_securitycenter_v1_notebook_proto_goTypes = nil + file_google_cloud_securitycenter_v1_notebook_proto_depIdxs = nil +} diff --git a/securitycenter/apiv1beta1/security_center_client_example_test.go b/securitycenter/apiv1beta1/security_center_client_example_test.go index 5e98ebbfda6c..26671b6454c7 100644 --- a/securitycenter/apiv1beta1/security_center_client_example_test.go +++ b/securitycenter/apiv1beta1/security_center_client_example_test.go @@ -212,6 +212,12 @@ func ExampleClient_GroupAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupAssetsResponse) } } @@ -243,6 +249,12 @@ func ExampleClient_GroupFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } @@ -274,6 +286,12 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAssetsResponse) } } @@ -305,6 +323,12 @@ func ExampleClient_ListFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } @@ -336,6 +360,12 @@ func ExampleClient_ListSources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } diff --git a/securitycenter/apiv1p1beta1/security_center_client_example_test.go b/securitycenter/apiv1p1beta1/security_center_client_example_test.go index 7af48162a83c..b7607d79c66b 100644 --- a/securitycenter/apiv1p1beta1/security_center_client_example_test.go +++ b/securitycenter/apiv1p1beta1/security_center_client_example_test.go @@ -285,6 +285,12 @@ func ExampleClient_GroupAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupAssetsResponse) } } @@ -316,6 +322,12 @@ func ExampleClient_GroupFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } @@ -347,6 +359,12 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAssetsResponse) } } @@ -378,6 +396,12 @@ func ExampleClient_ListFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } @@ -409,6 +433,12 @@ func ExampleClient_ListNotificationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListNotificationConfigsResponse) } } @@ -440,6 +470,12 @@ func ExampleClient_ListSources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } diff --git a/securitycenter/apiv2/security_center_client_example_test.go b/securitycenter/apiv2/security_center_client_example_test.go index b020d76a1247..8b896c13a1e1 100644 --- a/securitycenter/apiv2/security_center_client_example_test.go +++ b/securitycenter/apiv2/security_center_client_example_test.go @@ -560,6 +560,12 @@ func ExampleClient_GroupFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.GroupFindingsResponse) } } @@ -591,6 +597,12 @@ func ExampleClient_ListAttackPaths() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListAttackPathsResponse) } } @@ -622,6 +634,12 @@ func ExampleClient_ListBigQueryExports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListBigQueryExportsResponse) } } @@ -653,6 +671,12 @@ func ExampleClient_ListFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListFindingsResponse) } } @@ -684,6 +708,12 @@ func ExampleClient_ListMuteConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListMuteConfigsResponse) } } @@ -715,6 +745,12 @@ func ExampleClient_ListNotificationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListNotificationConfigsResponse) } } @@ -746,6 +782,12 @@ func ExampleClient_ListResourceValueConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListResourceValueConfigsResponse) } } @@ -777,6 +819,12 @@ func ExampleClient_ListSources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListSourcesResponse) } } @@ -808,6 +856,12 @@ func ExampleClient_ListValuedResources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycenterpb.ListValuedResourcesResponse) } } @@ -1210,5 +1264,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/securitycenter/settings/apiv1beta1/security_center_settings_client_example_test.go b/securitycenter/settings/apiv1beta1/security_center_settings_client_example_test.go index 03da21e685be..fac850572c1c 100644 --- a/securitycenter/settings/apiv1beta1/security_center_settings_client_example_test.go +++ b/securitycenter/settings/apiv1beta1/security_center_settings_client_example_test.go @@ -261,6 +261,12 @@ func ExampleSecurityCenterSettingsClient_ListComponents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*settingspb.ListComponentsResponse) } } @@ -292,6 +298,12 @@ func ExampleSecurityCenterSettingsClient_ListDetectors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*settingspb.ListDetectorsResponse) } } diff --git a/securitycentermanagement/apiv1/security_center_management_client_example_test.go b/securitycentermanagement/apiv1/security_center_management_client_example_test.go index ce22611dfa9b..12d4bd5ebaa3 100644 --- a/securitycentermanagement/apiv1/security_center_management_client_example_test.go +++ b/securitycentermanagement/apiv1/security_center_management_client_example_test.go @@ -283,6 +283,12 @@ func ExampleClient_ListDescendantEventThreatDetectionCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListDescendantEventThreatDetectionCustomModulesResponse) } } @@ -314,6 +320,12 @@ func ExampleClient_ListDescendantSecurityHealthAnalyticsCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListDescendantSecurityHealthAnalyticsCustomModulesResponse) } } @@ -345,6 +357,12 @@ func ExampleClient_ListEffectiveEventThreatDetectionCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListEffectiveEventThreatDetectionCustomModulesResponse) } } @@ -376,6 +394,12 @@ func ExampleClient_ListEffectiveSecurityHealthAnalyticsCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse) } } @@ -407,6 +431,12 @@ func ExampleClient_ListEventThreatDetectionCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListEventThreatDetectionCustomModulesResponse) } } @@ -438,6 +468,12 @@ func ExampleClient_ListSecurityHealthAnalyticsCustomModules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securitycentermanagementpb.ListSecurityHealthAnalyticsCustomModulesResponse) } } @@ -594,5 +630,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/securityposture/apiv1/security_posture_client_example_test.go b/securityposture/apiv1/security_posture_client_example_test.go index 5f4b806532d3..774121977f44 100644 --- a/securityposture/apiv1/security_posture_client_example_test.go +++ b/securityposture/apiv1/security_posture_client_example_test.go @@ -309,6 +309,12 @@ func ExampleClient_ListPostureDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPostureDeploymentsResponse) } } @@ -340,6 +346,12 @@ func ExampleClient_ListPostureRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPostureRevisionsResponse) } } @@ -371,6 +383,12 @@ func ExampleClient_ListPostureTemplates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPostureTemplatesResponse) } } @@ -402,6 +420,12 @@ func ExampleClient_ListPostures() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*securityposturepb.ListPosturesResponse) } } @@ -518,6 +542,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -620,5 +650,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/servicedirectory/apiv1/lookup_client_example_test.go b/servicedirectory/apiv1/lookup_client_example_test.go index 8e75ddca93f0..722c29031ea1 100644 --- a/servicedirectory/apiv1/lookup_client_example_test.go +++ b/servicedirectory/apiv1/lookup_client_example_test.go @@ -137,5 +137,11 @@ func ExampleLookupClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/servicedirectory/apiv1/registration_client_example_test.go b/servicedirectory/apiv1/registration_client_example_test.go index a1291261b1eb..1c2c5d7ac2d6 100644 --- a/servicedirectory/apiv1/registration_client_example_test.go +++ b/servicedirectory/apiv1/registration_client_example_test.go @@ -332,6 +332,12 @@ func ExampleRegistrationClient_ListEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListEndpointsResponse) } } @@ -363,6 +369,12 @@ func ExampleRegistrationClient_ListNamespaces() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListNamespacesResponse) } } @@ -394,6 +406,12 @@ func ExampleRegistrationClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListServicesResponse) } } @@ -575,5 +593,11 @@ func ExampleRegistrationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/servicedirectory/apiv1beta1/lookup_client_example_test.go b/servicedirectory/apiv1beta1/lookup_client_example_test.go index 02bbc1a645c8..03b2851161fc 100644 --- a/servicedirectory/apiv1beta1/lookup_client_example_test.go +++ b/servicedirectory/apiv1beta1/lookup_client_example_test.go @@ -137,5 +137,11 @@ func ExampleLookupClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/servicedirectory/apiv1beta1/registration_client_example_test.go b/servicedirectory/apiv1beta1/registration_client_example_test.go index e794c27818ea..db663aa31f19 100644 --- a/servicedirectory/apiv1beta1/registration_client_example_test.go +++ b/servicedirectory/apiv1beta1/registration_client_example_test.go @@ -332,6 +332,12 @@ func ExampleRegistrationClient_ListEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListEndpointsResponse) } } @@ -363,6 +369,12 @@ func ExampleRegistrationClient_ListNamespaces() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListNamespacesResponse) } } @@ -394,6 +406,12 @@ func ExampleRegistrationClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicedirectorypb.ListServicesResponse) } } @@ -575,5 +593,11 @@ func ExampleRegistrationClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/servicehealth/apiv1/service_health_client_example_test.go b/servicehealth/apiv1/service_health_client_example_test.go index 278647d29ec6..06e8d90f225c 100644 --- a/servicehealth/apiv1/service_health_client_example_test.go +++ b/servicehealth/apiv1/service_health_client_example_test.go @@ -162,6 +162,12 @@ func ExampleClient_ListEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicehealthpb.ListEventsResponse) } } @@ -193,6 +199,12 @@ func ExampleClient_ListOrganizationEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicehealthpb.ListOrganizationEventsResponse) } } @@ -224,6 +236,12 @@ func ExampleClient_ListOrganizationImpacts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicehealthpb.ListOrganizationImpactsResponse) } } @@ -280,5 +298,11 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } diff --git a/servicemanagement/apiv1/service_manager_client_example_test.go b/servicemanagement/apiv1/service_manager_client_example_test.go index d889b44c876c..604791e19fa8 100644 --- a/servicemanagement/apiv1/service_manager_client_example_test.go +++ b/servicemanagement/apiv1/service_manager_client_example_test.go @@ -301,6 +301,12 @@ func ExampleServiceManagerClient_ListServiceConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicemanagementpb.ListServiceConfigsResponse) } } @@ -332,6 +338,12 @@ func ExampleServiceManagerClient_ListServiceRollouts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicemanagementpb.ListServiceRolloutsResponse) } } @@ -363,6 +375,12 @@ func ExampleServiceManagerClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*servicemanagementpb.ListServicesResponse) } } @@ -529,5 +547,11 @@ func ExampleServiceManagerClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/serviceusage/apiv1/service_usage_client_example_test.go b/serviceusage/apiv1/service_usage_client_example_test.go index e9bfdfc7d058..ba4f25423f34 100644 --- a/serviceusage/apiv1/service_usage_client_example_test.go +++ b/serviceusage/apiv1/service_usage_client_example_test.go @@ -227,6 +227,12 @@ func ExampleClient_ListServices() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*serviceusagepb.ListServicesResponse) } } @@ -283,5 +289,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/shopping/css/apiv1/account_labels_client_example_test.go b/shopping/css/apiv1/account_labels_client_example_test.go index 2220021e0bbd..a04bb901872d 100644 --- a/shopping/css/apiv1/account_labels_client_example_test.go +++ b/shopping/css/apiv1/account_labels_client_example_test.go @@ -134,6 +134,12 @@ func ExampleAccountLabelsClient_ListAccountLabels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*csspb.ListAccountLabelsResponse) } } diff --git a/shopping/css/apiv1/accounts_client_example_test.go b/shopping/css/apiv1/accounts_client_example_test.go index 45acf49247ae..1f4c4e84d698 100644 --- a/shopping/css/apiv1/accounts_client_example_test.go +++ b/shopping/css/apiv1/accounts_client_example_test.go @@ -111,6 +111,12 @@ func ExampleAccountsClient_ListChildAccounts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*csspb.ListChildAccountsResponse) } } diff --git a/shopping/css/apiv1/css_products_client_example_test.go b/shopping/css/apiv1/css_products_client_example_test.go index b243bdc86dd2..206e73b1d659 100644 --- a/shopping/css/apiv1/css_products_client_example_test.go +++ b/shopping/css/apiv1/css_products_client_example_test.go @@ -111,5 +111,11 @@ func ExampleCssProductsClient_ListCssProducts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*csspb.ListCssProductsResponse) } } diff --git a/shopping/merchant/inventories/apiv1beta/local_inventory_client_example_test.go b/shopping/merchant/inventories/apiv1beta/local_inventory_client_example_test.go index d00bf8db9649..74e1a7c11fc4 100644 --- a/shopping/merchant/inventories/apiv1beta/local_inventory_client_example_test.go +++ b/shopping/merchant/inventories/apiv1beta/local_inventory_client_example_test.go @@ -134,5 +134,11 @@ func ExampleLocalInventoryClient_ListLocalInventories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventoriespb.ListLocalInventoriesResponse) } } diff --git a/shopping/merchant/inventories/apiv1beta/regional_inventory_client_example_test.go b/shopping/merchant/inventories/apiv1beta/regional_inventory_client_example_test.go index 04ae222a1c2f..12c436361902 100644 --- a/shopping/merchant/inventories/apiv1beta/regional_inventory_client_example_test.go +++ b/shopping/merchant/inventories/apiv1beta/regional_inventory_client_example_test.go @@ -134,5 +134,11 @@ func ExampleRegionalInventoryClient_ListRegionalInventories() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*inventoriespb.ListRegionalInventoriesResponse) } } diff --git a/spanner/admin/database/apiv1/database_admin_client_example_test.go b/spanner/admin/database/apiv1/database_admin_client_example_test.go index 1632253ed48f..847e79411e20 100644 --- a/spanner/admin/database/apiv1/database_admin_client_example_test.go +++ b/spanner/admin/database/apiv1/database_admin_client_example_test.go @@ -324,6 +324,12 @@ func ExampleDatabaseAdminClient_ListBackupOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListBackupOperationsResponse) } } @@ -355,6 +361,12 @@ func ExampleDatabaseAdminClient_ListBackups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListBackupsResponse) } } @@ -386,6 +398,12 @@ func ExampleDatabaseAdminClient_ListDatabaseOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListDatabaseOperationsResponse) } } @@ -417,6 +435,12 @@ func ExampleDatabaseAdminClient_ListDatabaseRoles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListDatabaseRolesResponse) } } @@ -448,6 +472,12 @@ func ExampleDatabaseAdminClient_ListDatabases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*databasepb.ListDatabasesResponse) } } @@ -713,5 +743,11 @@ func ExampleDatabaseAdminClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/spanner/admin/instance/apiv1/instance_admin_client_example_test.go b/spanner/admin/instance/apiv1/instance_admin_client_example_test.go index 48ab7070bf65..de336524945f 100644 --- a/spanner/admin/instance/apiv1/instance_admin_client_example_test.go +++ b/spanner/admin/instance/apiv1/instance_admin_client_example_test.go @@ -346,6 +346,12 @@ func ExampleInstanceAdminClient_ListInstanceConfigOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstanceConfigOperationsResponse) } } @@ -377,6 +383,12 @@ func ExampleInstanceAdminClient_ListInstanceConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstanceConfigsResponse) } } @@ -408,6 +420,12 @@ func ExampleInstanceAdminClient_ListInstancePartitionOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstancePartitionOperationsResponse) } } @@ -439,6 +457,12 @@ func ExampleInstanceAdminClient_ListInstancePartitions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstancePartitionsResponse) } } @@ -470,6 +494,12 @@ func ExampleInstanceAdminClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*instancepb.ListInstancesResponse) } } diff --git a/spanner/apiv1/spanner_client_example_test.go b/spanner/apiv1/spanner_client_example_test.go index 56dd9a82d075..419b10505ea6 100644 --- a/spanner/apiv1/spanner_client_example_test.go +++ b/spanner/apiv1/spanner_client_example_test.go @@ -284,6 +284,12 @@ func ExampleClient_ListSessions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*spannerpb.ListSessionsResponse) } } diff --git a/speech/apiv1/adaptation_client_example_test.go b/speech/apiv1/adaptation_client_example_test.go index 6b4fa7708e2d..d1908e6c2e18 100644 --- a/speech/apiv1/adaptation_client_example_test.go +++ b/speech/apiv1/adaptation_client_example_test.go @@ -233,6 +233,12 @@ func ExampleAdaptationClient_ListCustomClasses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListCustomClassesResponse) } } @@ -264,6 +270,12 @@ func ExampleAdaptationClient_ListPhraseSet() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListPhraseSetResponse) } } @@ -370,5 +382,11 @@ func ExampleAdaptationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/speech/apiv1/speech_client_example_test.go b/speech/apiv1/speech_client_example_test.go index 04d91226e6a5..9e30c718c028 100644 --- a/speech/apiv1/speech_client_example_test.go +++ b/speech/apiv1/speech_client_example_test.go @@ -208,5 +208,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/speech/apiv1p1beta1/adaptation_client_example_test.go b/speech/apiv1p1beta1/adaptation_client_example_test.go index f8b2b4cb1321..6dba1a7d9096 100644 --- a/speech/apiv1p1beta1/adaptation_client_example_test.go +++ b/speech/apiv1p1beta1/adaptation_client_example_test.go @@ -233,6 +233,12 @@ func ExampleAdaptationClient_ListCustomClasses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListCustomClassesResponse) } } @@ -264,6 +270,12 @@ func ExampleAdaptationClient_ListPhraseSet() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListPhraseSetResponse) } } @@ -370,5 +382,11 @@ func ExampleAdaptationClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/speech/apiv1p1beta1/speech_client_example_test.go b/speech/apiv1p1beta1/speech_client_example_test.go index 1d1a5c767d25..e3b1edf7919e 100644 --- a/speech/apiv1p1beta1/speech_client_example_test.go +++ b/speech/apiv1p1beta1/speech_client_example_test.go @@ -208,5 +208,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/speech/apiv2/speech_client_example_test.go b/speech/apiv2/speech_client_example_test.go index b51d59e2edf5..5992e5956997 100644 --- a/speech/apiv2/speech_client_example_test.go +++ b/speech/apiv2/speech_client_example_test.go @@ -399,6 +399,12 @@ func ExampleClient_ListCustomClasses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListCustomClassesResponse) } } @@ -430,6 +436,12 @@ func ExampleClient_ListPhraseSets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListPhraseSetsResponse) } } @@ -461,6 +473,12 @@ func ExampleClient_ListRecognizers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*speechpb.ListRecognizersResponse) } } @@ -787,6 +805,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -889,5 +913,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/storage/control/apiv2/storage_control_client_example_test.go b/storage/control/apiv2/storage_control_client_example_test.go index 6549d33bbafd..4ac5129417d6 100644 --- a/storage/control/apiv2/storage_control_client_example_test.go +++ b/storage/control/apiv2/storage_control_client_example_test.go @@ -167,6 +167,12 @@ func ExampleStorageControlClient_ListFolders() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*controlpb.ListFoldersResponse) } } diff --git a/storage/internal/apiv2/storage_client_example_test.go b/storage/internal/apiv2/storage_client_example_test.go index 7f51a3cd9a14..2c8baed51a22 100644 --- a/storage/internal/apiv2/storage_client_example_test.go +++ b/storage/internal/apiv2/storage_client_example_test.go @@ -478,6 +478,12 @@ func ExampleClient_ListBuckets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagepb.ListBucketsResponse) } } @@ -509,6 +515,12 @@ func ExampleClient_ListHmacKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagepb.ListHmacKeysResponse) } } @@ -540,6 +552,12 @@ func ExampleClient_ListNotificationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagepb.ListNotificationConfigsResponse) } } @@ -571,6 +589,12 @@ func ExampleClient_ListObjects() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagepb.ListObjectsResponse) } } diff --git a/storageinsights/apiv1/storage_insights_client_example_test.go b/storageinsights/apiv1/storage_insights_client_example_test.go index 0030133644fc..1df5a3016dbb 100644 --- a/storageinsights/apiv1/storage_insights_client_example_test.go +++ b/storageinsights/apiv1/storage_insights_client_example_test.go @@ -186,6 +186,12 @@ func ExampleClient_ListReportConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storageinsightspb.ListReportConfigsResponse) } } @@ -217,6 +223,12 @@ func ExampleClient_ListReportDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storageinsightspb.ListReportDetailsResponse) } } @@ -298,6 +310,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -400,5 +418,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/storagetransfer/apiv1/storage_transfer_client_example_test.go b/storagetransfer/apiv1/storage_transfer_client_example_test.go index e40076b1602d..2c33fe7fef7a 100644 --- a/storagetransfer/apiv1/storage_transfer_client_example_test.go +++ b/storagetransfer/apiv1/storage_transfer_client_example_test.go @@ -258,6 +258,12 @@ func ExampleClient_ListAgentPools() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagetransferpb.ListAgentPoolsResponse) } } @@ -289,6 +295,12 @@ func ExampleClient_ListTransferJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*storagetransferpb.ListTransferJobsResponse) } } @@ -492,5 +504,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/support/apiv2/case_attachment_client_example_test.go b/support/apiv2/case_attachment_client_example_test.go index 8da69ca5f806..af44be8e88f0 100644 --- a/support/apiv2/case_attachment_client_example_test.go +++ b/support/apiv2/case_attachment_client_example_test.go @@ -86,5 +86,11 @@ func ExampleCaseAttachmentClient_ListAttachments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.ListAttachmentsResponse) } } diff --git a/support/apiv2/case_client_example_test.go b/support/apiv2/case_client_example_test.go index f3cdbd0cefed..2fe4d5332134 100644 --- a/support/apiv2/case_client_example_test.go +++ b/support/apiv2/case_client_example_test.go @@ -186,6 +186,12 @@ func ExampleCaseClient_ListCases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.ListCasesResponse) } } @@ -217,6 +223,12 @@ func ExampleCaseClient_SearchCaseClassifications() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.SearchCaseClassificationsResponse) } } @@ -248,6 +260,12 @@ func ExampleCaseClient_SearchCases() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.SearchCasesResponse) } } diff --git a/support/apiv2/comment_client_example_test.go b/support/apiv2/comment_client_example_test.go index 727feda7ea68..b10336542c58 100644 --- a/support/apiv2/comment_client_example_test.go +++ b/support/apiv2/comment_client_example_test.go @@ -111,5 +111,11 @@ func ExampleCommentClient_ListComments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*supportpb.ListCommentsResponse) } } diff --git a/support/apiv2/doc.go b/support/apiv2/doc.go index e255467c2eb6..7687eb4b470f 100755 --- a/support/apiv2/doc.go +++ b/support/apiv2/doc.go @@ -83,6 +83,12 @@ // } // // TODO: Use resp. // _ = resp +// +// // If you need to access the underlying RPC response, +// // you can do so by casting the `Response` as below. +// // Otherwise, remove this line. Only populated after +// // first call to Next(). Not safe for concurrent access. +// _ = it.Response.(*supportpb.ListAttachmentsResponse) // } // // # Use of Context diff --git a/talent/apiv4/company_client_example_test.go b/talent/apiv4/company_client_example_test.go index 655ab9ba3604..e74666ceea79 100644 --- a/talent/apiv4/company_client_example_test.go +++ b/talent/apiv4/company_client_example_test.go @@ -160,6 +160,12 @@ func ExampleCompanyClient_ListCompanies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListCompaniesResponse) } } diff --git a/talent/apiv4/job_client_example_test.go b/talent/apiv4/job_client_example_test.go index cbcf94203ac5..72a70c58b10d 100644 --- a/talent/apiv4/job_client_example_test.go +++ b/talent/apiv4/job_client_example_test.go @@ -250,6 +250,12 @@ func ExampleJobClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListJobsResponse) } } diff --git a/talent/apiv4/tenant_client_example_test.go b/talent/apiv4/tenant_client_example_test.go index 06edd0190133..c904078c8d5b 100644 --- a/talent/apiv4/tenant_client_example_test.go +++ b/talent/apiv4/tenant_client_example_test.go @@ -160,6 +160,12 @@ func ExampleTenantClient_ListTenants() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListTenantsResponse) } } diff --git a/talent/apiv4beta1/company_client_example_test.go b/talent/apiv4beta1/company_client_example_test.go index b4c2a7804795..02ce2883467b 100644 --- a/talent/apiv4beta1/company_client_example_test.go +++ b/talent/apiv4beta1/company_client_example_test.go @@ -160,6 +160,12 @@ func ExampleCompanyClient_ListCompanies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListCompaniesResponse) } } diff --git a/talent/apiv4beta1/job_client_example_test.go b/talent/apiv4beta1/job_client_example_test.go index 948b6c670ae7..9df1388e587c 100644 --- a/talent/apiv4beta1/job_client_example_test.go +++ b/talent/apiv4beta1/job_client_example_test.go @@ -243,6 +243,12 @@ func ExampleJobClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListJobsResponse) } } @@ -299,6 +305,12 @@ func ExampleJobClient_SearchJobsForAlert() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.SearchJobsResponse) } } diff --git a/talent/apiv4beta1/tenant_client_example_test.go b/talent/apiv4beta1/tenant_client_example_test.go index e8f3e2e27283..cd78ea0f0eb2 100644 --- a/talent/apiv4beta1/tenant_client_example_test.go +++ b/talent/apiv4beta1/tenant_client_example_test.go @@ -160,6 +160,12 @@ func ExampleTenantClient_ListTenants() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*talentpb.ListTenantsResponse) } } diff --git a/telcoautomation/apiv1/telco_automation_client_example_test.go b/telcoautomation/apiv1/telco_automation_client_example_test.go index 5ad22aa9ca03..4d40db5b4742 100644 --- a/telcoautomation/apiv1/telco_automation_client_example_test.go +++ b/telcoautomation/apiv1/telco_automation_client_example_test.go @@ -577,6 +577,12 @@ func ExampleClient_ListBlueprintRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListBlueprintRevisionsResponse) } } @@ -608,6 +614,12 @@ func ExampleClient_ListBlueprints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListBlueprintsResponse) } } @@ -639,6 +651,12 @@ func ExampleClient_ListDeploymentRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListDeploymentRevisionsResponse) } } @@ -670,6 +688,12 @@ func ExampleClient_ListDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListDeploymentsResponse) } } @@ -701,6 +725,12 @@ func ExampleClient_ListEdgeSlms() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListEdgeSlmsResponse) } } @@ -732,6 +762,12 @@ func ExampleClient_ListHydratedDeployments() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListHydratedDeploymentsResponse) } } @@ -763,6 +799,12 @@ func ExampleClient_ListOrchestrationClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListOrchestrationClustersResponse) } } @@ -794,6 +836,12 @@ func ExampleClient_ListPublicBlueprints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.ListPublicBlueprintsResponse) } } @@ -923,6 +971,12 @@ func ExampleClient_SearchBlueprintRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.SearchBlueprintRevisionsResponse) } } @@ -954,6 +1008,12 @@ func ExampleClient_SearchDeploymentRevisions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*telcoautomationpb.SearchDeploymentRevisionsResponse) } } @@ -1085,6 +1145,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1187,5 +1253,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/texttospeech/apiv1/text_to_speech_client_example_test.go b/texttospeech/apiv1/text_to_speech_client_example_test.go index 7e573f646c13..abb44458059f 100644 --- a/texttospeech/apiv1/text_to_speech_client_example_test.go +++ b/texttospeech/apiv1/text_to_speech_client_example_test.go @@ -162,5 +162,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/texttospeech/apiv1/text_to_speech_long_audio_synthesize_client_example_test.go b/texttospeech/apiv1/text_to_speech_long_audio_synthesize_client_example_test.go index a5cf86f3378b..ee48b80832c1 100644 --- a/texttospeech/apiv1/text_to_speech_long_audio_synthesize_client_example_test.go +++ b/texttospeech/apiv1/text_to_speech_long_audio_synthesize_client_example_test.go @@ -142,5 +142,11 @@ func ExampleTextToSpeechLongAudioSynthesizeClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/tpu/apiv1/tpu_client_example_test.go b/tpu/apiv1/tpu_client_example_test.go index 76943510bc49..e559b244bba5 100644 --- a/tpu/apiv1/tpu_client_example_test.go +++ b/tpu/apiv1/tpu_client_example_test.go @@ -206,6 +206,12 @@ func ExampleClient_ListAcceleratorTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tpupb.ListAcceleratorTypesResponse) } } @@ -237,6 +243,12 @@ func ExampleClient_ListNodes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tpupb.ListNodesResponse) } } @@ -268,6 +280,12 @@ func ExampleClient_ListTensorFlowVersions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tpupb.ListTensorFlowVersionsResponse) } } @@ -414,6 +432,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -516,5 +540,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/trace/apiv1/trace_client_example_test.go b/trace/apiv1/trace_client_example_test.go index d0ade22bc6b0..11a8c0b7c143 100644 --- a/trace/apiv1/trace_client_example_test.go +++ b/trace/apiv1/trace_client_example_test.go @@ -111,6 +111,12 @@ func ExampleClient_ListTraces() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*tracepb.ListTracesResponse) } } diff --git a/translate/apiv3/translation_client_example_test.go b/translate/apiv3/translation_client_example_test.go index 4b49c57b45c4..501912d8fb08 100644 --- a/translate/apiv3/translation_client_example_test.go +++ b/translate/apiv3/translation_client_example_test.go @@ -452,6 +452,12 @@ func ExampleTranslationClient_ListAdaptiveMtDatasets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListAdaptiveMtDatasetsResponse) } } @@ -483,6 +489,12 @@ func ExampleTranslationClient_ListAdaptiveMtFiles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListAdaptiveMtFilesResponse) } } @@ -514,6 +526,12 @@ func ExampleTranslationClient_ListAdaptiveMtSentences() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListAdaptiveMtSentencesResponse) } } @@ -545,6 +563,12 @@ func ExampleTranslationClient_ListGlossaries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*translatepb.ListGlossariesResponse) } } diff --git a/video/livestream/apiv1/livestream_client_example_test.go b/video/livestream/apiv1/livestream_client_example_test.go index 500ffc31d450..10b3a0c9e812 100644 --- a/video/livestream/apiv1/livestream_client_example_test.go +++ b/video/livestream/apiv1/livestream_client_example_test.go @@ -435,6 +435,12 @@ func ExampleClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListAssetsResponse) } } @@ -466,6 +472,12 @@ func ExampleClient_ListChannels() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListChannelsResponse) } } @@ -497,6 +509,12 @@ func ExampleClient_ListEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListEventsResponse) } } @@ -528,6 +546,12 @@ func ExampleClient_ListInputs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*livestreampb.ListInputsResponse) } } @@ -734,6 +758,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -836,5 +866,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/video/stitcher/apiv1/video_stitcher_client_example_test.go b/video/stitcher/apiv1/video_stitcher_client_example_test.go index 08dc1435ccc8..1086f5bc5f37 100644 --- a/video/stitcher/apiv1/video_stitcher_client_example_test.go +++ b/video/stitcher/apiv1/video_stitcher_client_example_test.go @@ -494,6 +494,12 @@ func ExampleVideoStitcherClient_ListCdnKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListCdnKeysResponse) } } @@ -525,6 +531,12 @@ func ExampleVideoStitcherClient_ListLiveAdTagDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListLiveAdTagDetailsResponse) } } @@ -556,6 +568,12 @@ func ExampleVideoStitcherClient_ListLiveConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListLiveConfigsResponse) } } @@ -587,6 +605,12 @@ func ExampleVideoStitcherClient_ListSlates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListSlatesResponse) } } @@ -618,6 +642,12 @@ func ExampleVideoStitcherClient_ListVodAdTagDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListVodAdTagDetailsResponse) } } @@ -649,6 +679,12 @@ func ExampleVideoStitcherClient_ListVodStitchDetails() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*stitcherpb.ListVodStitchDetailsResponse) } } @@ -811,5 +847,11 @@ func ExampleVideoStitcherClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/video/transcoder/apiv1/transcoder_client_example_test.go b/video/transcoder/apiv1/transcoder_client_example_test.go index 2645cfbea52f..a45d8369cbcb 100644 --- a/video/transcoder/apiv1/transcoder_client_example_test.go +++ b/video/transcoder/apiv1/transcoder_client_example_test.go @@ -232,6 +232,12 @@ func ExampleClient_ListJobTemplates() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*transcoderpb.ListJobTemplatesResponse) } } @@ -263,5 +269,11 @@ func ExampleClient_ListJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*transcoderpb.ListJobsResponse) } } diff --git a/vision/apiv1/product_search_client_example_test.go b/vision/apiv1/product_search_client_example_test.go index 3c3d1767c7d0..f5209e499abb 100644 --- a/vision/apiv1/product_search_client_example_test.go +++ b/vision/apiv1/product_search_client_example_test.go @@ -359,6 +359,12 @@ func ExampleProductSearchClient_ListProductSets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListProductSetsResponse) } } @@ -390,6 +396,12 @@ func ExampleProductSearchClient_ListProducts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListProductsResponse) } } @@ -421,6 +433,12 @@ func ExampleProductSearchClient_ListProductsInProductSet() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListProductsInProductSetResponse) } } @@ -452,6 +470,12 @@ func ExampleProductSearchClient_ListReferenceImages() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionpb.ListReferenceImagesResponse) } } diff --git a/visionai/apiv1/app_platform_client_example_test.go b/visionai/apiv1/app_platform_client_example_test.go index 266bf08334ff..b2e5275afe68 100644 --- a/visionai/apiv1/app_platform_client_example_test.go +++ b/visionai/apiv1/app_platform_client_example_test.go @@ -481,6 +481,12 @@ func ExampleAppPlatformClient_ListApplications() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListApplicationsResponse) } } @@ -512,6 +518,12 @@ func ExampleAppPlatformClient_ListDrafts() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListDraftsResponse) } } @@ -543,6 +555,12 @@ func ExampleAppPlatformClient_ListInstances() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListInstancesResponse) } } @@ -599,6 +617,12 @@ func ExampleAppPlatformClient_ListProcessors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListProcessorsResponse) } } @@ -911,5 +935,11 @@ func ExampleAppPlatformClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/visionai/apiv1/health_check_client_example_test.go b/visionai/apiv1/health_check_client_example_test.go index 6d00f3c9ef95..9b948dae9139 100644 --- a/visionai/apiv1/health_check_client_example_test.go +++ b/visionai/apiv1/health_check_client_example_test.go @@ -183,5 +183,11 @@ func ExampleHealthCheckClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/visionai/apiv1/live_video_analytics_client_example_test.go b/visionai/apiv1/live_video_analytics_client_example_test.go index b1699008bebf..e89a579ba35b 100644 --- a/visionai/apiv1/live_video_analytics_client_example_test.go +++ b/visionai/apiv1/live_video_analytics_client_example_test.go @@ -366,6 +366,12 @@ func ExampleLiveVideoAnalyticsClient_ListAnalyses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListAnalysesResponse) } } @@ -397,6 +403,12 @@ func ExampleLiveVideoAnalyticsClient_ListOperators() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListOperatorsResponse) } } @@ -428,6 +440,12 @@ func ExampleLiveVideoAnalyticsClient_ListProcesses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListProcessesResponse) } } @@ -459,6 +477,12 @@ func ExampleLiveVideoAnalyticsClient_ListPublicOperators() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListPublicOperatorsResponse) } } @@ -676,5 +700,11 @@ func ExampleLiveVideoAnalyticsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/visionai/apiv1/streaming_client_example_test.go b/visionai/apiv1/streaming_client_example_test.go index f3aef2528e00..3346458892e9 100644 --- a/visionai/apiv1/streaming_client_example_test.go +++ b/visionai/apiv1/streaming_client_example_test.go @@ -354,5 +354,11 @@ func ExampleStreamingClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/visionai/apiv1/streams_client_example_test.go b/visionai/apiv1/streams_client_example_test.go index 73ad405ea415..b11ccdfa0f56 100644 --- a/visionai/apiv1/streams_client_example_test.go +++ b/visionai/apiv1/streams_client_example_test.go @@ -474,6 +474,12 @@ func ExampleStreamsClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListClustersResponse) } } @@ -505,6 +511,12 @@ func ExampleStreamsClient_ListEvents() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListEventsResponse) } } @@ -536,6 +548,12 @@ func ExampleStreamsClient_ListSeries() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListSeriesResponse) } } @@ -567,6 +585,12 @@ func ExampleStreamsClient_ListStreams() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListStreamsResponse) } } @@ -819,5 +843,11 @@ func ExampleStreamsClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/visionai/apiv1/warehouse_client_example_test.go b/visionai/apiv1/warehouse_client_example_test.go index 87388d4f1c27..038d90cdf2d2 100644 --- a/visionai/apiv1/warehouse_client_example_test.go +++ b/visionai/apiv1/warehouse_client_example_test.go @@ -1075,6 +1075,12 @@ func ExampleWarehouseClient_ListAnnotations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListAnnotationsResponse) } } @@ -1106,6 +1112,12 @@ func ExampleWarehouseClient_ListAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListAssetsResponse) } } @@ -1137,6 +1149,12 @@ func ExampleWarehouseClient_ListCollections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListCollectionsResponse) } } @@ -1168,6 +1186,12 @@ func ExampleWarehouseClient_ListCorpora() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListCorporaResponse) } } @@ -1199,6 +1223,12 @@ func ExampleWarehouseClient_ListDataSchemas() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListDataSchemasResponse) } } @@ -1230,6 +1260,12 @@ func ExampleWarehouseClient_ListIndexEndpoints() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListIndexEndpointsResponse) } } @@ -1261,6 +1297,12 @@ func ExampleWarehouseClient_ListIndexes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListIndexesResponse) } } @@ -1292,6 +1334,12 @@ func ExampleWarehouseClient_ListSearchConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListSearchConfigsResponse) } } @@ -1323,6 +1371,12 @@ func ExampleWarehouseClient_ListSearchHypernyms() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ListSearchHypernymsResponse) } } @@ -1409,6 +1463,12 @@ func ExampleWarehouseClient_SearchAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.SearchAssetsResponse) } } @@ -1440,6 +1500,12 @@ func ExampleWarehouseClient_SearchIndexEndpoint() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.SearchIndexEndpointResponse) } } @@ -1766,6 +1832,12 @@ func ExampleWarehouseClient_ViewCollectionItems() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ViewCollectionItemsResponse) } } @@ -1797,6 +1869,12 @@ func ExampleWarehouseClient_ViewIndexedAssets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*visionaipb.ViewIndexedAssetsResponse) } } @@ -1899,5 +1977,11 @@ func ExampleWarehouseClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/vmmigration/apiv1/vm_migration_client_example_test.go b/vmmigration/apiv1/vm_migration_client_example_test.go index 3864e7c23e35..028edbafd9b8 100644 --- a/vmmigration/apiv1/vm_migration_client_example_test.go +++ b/vmmigration/apiv1/vm_migration_client_example_test.go @@ -866,6 +866,12 @@ func ExampleClient_ListCloneJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListCloneJobsResponse) } } @@ -897,6 +903,12 @@ func ExampleClient_ListCutoverJobs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListCutoverJobsResponse) } } @@ -928,6 +940,12 @@ func ExampleClient_ListDatacenterConnectors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListDatacenterConnectorsResponse) } } @@ -959,6 +977,12 @@ func ExampleClient_ListGroups() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListGroupsResponse) } } @@ -990,6 +1014,12 @@ func ExampleClient_ListMigratingVms() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListMigratingVmsResponse) } } @@ -1021,6 +1051,12 @@ func ExampleClient_ListReplicationCycles() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListReplicationCyclesResponse) } } @@ -1052,6 +1088,12 @@ func ExampleClient_ListSources() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListSourcesResponse) } } @@ -1083,6 +1125,12 @@ func ExampleClient_ListTargetProjects() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListTargetProjectsResponse) } } @@ -1114,6 +1162,12 @@ func ExampleClient_ListUtilizationReports() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmmigrationpb.ListUtilizationReportsResponse) } } @@ -1440,6 +1494,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -1542,5 +1602,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/vmwareengine/apiv1/vmware_engine_client_example_test.go b/vmwareengine/apiv1/vmware_engine_client_example_test.go index 58e217df7bb3..5b422f06c959 100644 --- a/vmwareengine/apiv1/vmware_engine_client_example_test.go +++ b/vmwareengine/apiv1/vmware_engine_client_example_test.go @@ -701,6 +701,12 @@ func ExampleClient_FetchNetworkPolicyExternalAddresses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.FetchNetworkPolicyExternalAddressesResponse) } } @@ -1162,6 +1168,12 @@ func ExampleClient_ListClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListClustersResponse) } } @@ -1193,6 +1205,12 @@ func ExampleClient_ListExternalAccessRules() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListExternalAccessRulesResponse) } } @@ -1224,6 +1242,12 @@ func ExampleClient_ListExternalAddresses() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListExternalAddressesResponse) } } @@ -1255,6 +1279,12 @@ func ExampleClient_ListHcxActivationKeys() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListHcxActivationKeysResponse) } } @@ -1286,6 +1316,12 @@ func ExampleClient_ListLoggingServers() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListLoggingServersResponse) } } @@ -1317,6 +1353,12 @@ func ExampleClient_ListManagementDnsZoneBindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListManagementDnsZoneBindingsResponse) } } @@ -1348,6 +1390,12 @@ func ExampleClient_ListNetworkPeerings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNetworkPeeringsResponse) } } @@ -1379,6 +1427,12 @@ func ExampleClient_ListNetworkPolicies() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNetworkPoliciesResponse) } } @@ -1410,6 +1464,12 @@ func ExampleClient_ListNodeTypes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNodeTypesResponse) } } @@ -1441,6 +1501,12 @@ func ExampleClient_ListNodes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListNodesResponse) } } @@ -1472,6 +1538,12 @@ func ExampleClient_ListPeeringRoutes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPeeringRoutesResponse) } } @@ -1503,6 +1575,12 @@ func ExampleClient_ListPrivateClouds() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPrivateCloudsResponse) } } @@ -1534,6 +1612,12 @@ func ExampleClient_ListPrivateConnectionPeeringRoutes() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPrivateConnectionPeeringRoutesResponse) } } @@ -1565,6 +1649,12 @@ func ExampleClient_ListPrivateConnections() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListPrivateConnectionsResponse) } } @@ -1596,6 +1686,12 @@ func ExampleClient_ListSubnets() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListSubnetsResponse) } } @@ -1627,6 +1723,12 @@ func ExampleClient_ListVmwareEngineNetworks() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vmwareenginepb.ListVmwareEngineNetworksResponse) } } @@ -2243,6 +2345,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -2397,5 +2505,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/vpcaccess/apiv1/vpc_access_client_example_test.go b/vpcaccess/apiv1/vpc_access_client_example_test.go index 8dc8cc62704c..d8c6aaeabf66 100644 --- a/vpcaccess/apiv1/vpc_access_client_example_test.go +++ b/vpcaccess/apiv1/vpc_access_client_example_test.go @@ -171,6 +171,12 @@ func ExampleClient_ListConnectors() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*vpcaccesspb.ListConnectorsResponse) } } @@ -202,6 +208,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -258,5 +270,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/webrisk/apiv1/web_risk_client_example_test.go b/webrisk/apiv1/web_risk_client_example_test.go index fbfd3b81e3ad..95dc69d7f872 100644 --- a/webrisk/apiv1/web_risk_client_example_test.go +++ b/webrisk/apiv1/web_risk_client_example_test.go @@ -288,5 +288,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/websecurityscanner/apiv1/web_security_scanner_client_example_test.go b/websecurityscanner/apiv1/web_security_scanner_client_example_test.go index 3a9bbf60d332..bd458de18dbc 100644 --- a/websecurityscanner/apiv1/web_security_scanner_client_example_test.go +++ b/websecurityscanner/apiv1/web_security_scanner_client_example_test.go @@ -209,6 +209,12 @@ func ExampleClient_ListCrawledUrls() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListCrawledUrlsResponse) } } @@ -265,6 +271,12 @@ func ExampleClient_ListFindings() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListFindingsResponse) } } @@ -296,6 +308,12 @@ func ExampleClient_ListScanConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListScanConfigsResponse) } } @@ -327,6 +345,12 @@ func ExampleClient_ListScanRuns() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*websecurityscannerpb.ListScanRunsResponse) } } diff --git a/workflows/apiv1/workflows_client_example_test.go b/workflows/apiv1/workflows_client_example_test.go index 574e4180bd09..85d145908f9d 100644 --- a/workflows/apiv1/workflows_client_example_test.go +++ b/workflows/apiv1/workflows_client_example_test.go @@ -171,6 +171,12 @@ func ExampleClient_ListWorkflows() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workflowspb.ListWorkflowsResponse) } } @@ -257,6 +263,12 @@ func ExampleClient_ListLocations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*locationpb.ListLocationsResponse) } } @@ -336,5 +348,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/workflows/apiv1beta/workflows_client_example_test.go b/workflows/apiv1beta/workflows_client_example_test.go index a1a86f34c8a2..3420fb04e339 100644 --- a/workflows/apiv1beta/workflows_client_example_test.go +++ b/workflows/apiv1beta/workflows_client_example_test.go @@ -169,6 +169,12 @@ func ExampleClient_ListWorkflows() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workflowspb.ListWorkflowsResponse) } } diff --git a/workflows/executions/apiv1/executions_client_example_test.go b/workflows/executions/apiv1/executions_client_example_test.go index e7c46d445b0a..b083edcb4186 100644 --- a/workflows/executions/apiv1/executions_client_example_test.go +++ b/workflows/executions/apiv1/executions_client_example_test.go @@ -144,5 +144,11 @@ func ExampleClient_ListExecutions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*executionspb.ListExecutionsResponse) } } diff --git a/workflows/executions/apiv1beta/executions_client_example_test.go b/workflows/executions/apiv1beta/executions_client_example_test.go index dc944b5c768a..be89a4d9451e 100644 --- a/workflows/executions/apiv1beta/executions_client_example_test.go +++ b/workflows/executions/apiv1beta/executions_client_example_test.go @@ -161,5 +161,11 @@ func ExampleClient_ListExecutions() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*executionspb.ListExecutionsResponse) } } diff --git a/workstations/apiv1/workstations_client_example_test.go b/workstations/apiv1/workstations_client_example_test.go index a90c9a6275b0..7674ee4cd90e 100644 --- a/workstations/apiv1/workstations_client_example_test.go +++ b/workstations/apiv1/workstations_client_example_test.go @@ -368,6 +368,12 @@ func ExampleClient_ListUsableWorkstationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationConfigsResponse) } } @@ -399,6 +405,12 @@ func ExampleClient_ListUsableWorkstations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationsResponse) } } @@ -430,6 +442,12 @@ func ExampleClient_ListWorkstationClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationClustersResponse) } } @@ -461,6 +479,12 @@ func ExampleClient_ListWorkstationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationConfigsResponse) } } @@ -492,6 +516,12 @@ func ExampleClient_ListWorkstations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationsResponse) } } @@ -819,5 +849,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } } diff --git a/workstations/apiv1beta/workstations_client_example_test.go b/workstations/apiv1beta/workstations_client_example_test.go index a69e86de3c53..cb07e9c03934 100644 --- a/workstations/apiv1beta/workstations_client_example_test.go +++ b/workstations/apiv1beta/workstations_client_example_test.go @@ -368,6 +368,12 @@ func ExampleClient_ListUsableWorkstationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationConfigsResponse) } } @@ -399,6 +405,12 @@ func ExampleClient_ListUsableWorkstations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListUsableWorkstationsResponse) } } @@ -430,6 +442,12 @@ func ExampleClient_ListWorkstationClusters() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationClustersResponse) } } @@ -461,6 +479,12 @@ func ExampleClient_ListWorkstationConfigs() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationConfigsResponse) } } @@ -492,6 +516,12 @@ func ExampleClient_ListWorkstations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*workstationspb.ListWorkstationsResponse) } } @@ -819,5 +849,11 @@ func ExampleClient_ListOperations() { } // TODO: Use resp. _ = resp + + // If you need to access the underlying RPC response, + // you can do so by casting the `Response` as below. + // Otherwise, remove this line. Only populated after + // first call to Next(). Not safe for concurrent access. + _ = it.Response.(*longrunningpb.ListOperationsResponse) } }