From fe85be03d1e6ba69182ff1045a3faed15aa00128 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 28 Mar 2024 23:12:20 +0000 Subject: [PATCH] chore: update Go gapic generator to v0.41.1 (#9654) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 620013984 Source-Link: https://togithub.com/googleapis/googleapis/commit/95d0e8c945db9e012b5438f7ef19e7c5c1a124b5 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/92aab22347776d3673f82453d00dc2d88d4f9072 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTJhYWIyMjM0Nzc3NmQzNjczZjgyNDUzZDAwZGMyZDg4ZDRmOTA3MiJ9 BEGIN_NESTED_COMMIT feat(asset): add tag key id support docs: add tagKeyIds example for ResourceSearchResult.tags PiperOrigin-RevId: 619997195 Source-Link: https://togithub.com/googleapis/googleapis/commit/a585563caf022392e6f3a560b413b349ab32d9f1 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/086562a14d036601cac3d425118b0b2a28ed2a49 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDg2NTYyYTE0ZDAzNjYwMWNhYzNkNDI1MTE4YjBiMmEyOGVkMmE0OSJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(firestore/apiv1): correct BackupSchedule recurrence docs that mentioned specific time of day chore: fix typo in DeleteBackupScheduleRequest PiperOrigin-RevId: 619912852 Source-Link: https://togithub.com/googleapis/googleapis/commit/8fe68cf33c51264152c321321ee78b8a3197f497 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1a8186f74665611f485811ac5ab643c9f05655c7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWE4MTg2Zjc0NjY1NjExZjQ4NTgxMWFjNWFiNjQzYzlmMDU2NTVjNyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT docs(networkmanagement): update possible firewall rule actions comment PiperOrigin-RevId: 619808134 Source-Link: https://togithub.com/googleapis/googleapis/commit/58017ef35e81f53d80215c5bfb7bfc358b421b36 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/98e6bdffb90bfbe86e2abd791cce70ea665e6943 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOThlNmJkZmZiOTBiZmJlODZlMmFiZDc5MWNjZTcwZWE2NjVlNjk0MyJ9 END_NESTED_COMMIT BEGIN_NESTED_COMMIT feat(securitycenter): Add Notebook field to finding's list of attributes PiperOrigin-RevId: 619663717 Source-Link: https://togithub.com/googleapis/googleapis/commit/038629f435226abf4081cb4042c1213ae04718a2 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/90ac380358c55e6d6521d4779128316994263e0d Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTBhYzM4MDM1OGM1NWU2ZDY1MjFkNDc3OTEyODMxNjk5NDI2M2UwZCJ9 END_NESTED_COMMIT --- .../access_approval_client_example_test.go | 6 + ...ess_context_manager_client_example_test.go | 24 + ...isory_notifications_client_example_test.go | 6 + .../apiv1/generative_client_example_test.go | 6 + .../apiv1/model_client_example_test.go | 12 + .../apiv1beta/model_client_example_test.go | 12 + .../permission_client_example_test.go | 6 + .../retriever_client_example_test.go | 18 + .../apiv1beta2/model_client_example_test.go | 6 + .../apiv1/dataset_client_example_test.go | 48 ++ ...yment_resource_pool_client_example_test.go | 24 + .../apiv1/endpoint_client_example_test.go | 18 + ..._online_store_admin_client_example_test.go | 30 + ...eature_online_store_client_example_test.go | 12 + .../feature_registry_client_example_test.go | 24 + .../apiv1/featurestore_client_example_test.go | 36 + ...tore_online_serving_client_example_test.go | 12 + aiplatform/apiv1/index_client_example_test.go | 18 + .../index_endpoint_client_example_test.go | 18 + aiplatform/apiv1/job_client_example_test.go | 60 ++ .../apiv1/llm_utility_client_example_test.go | 12 + aiplatform/apiv1/match_client_example_test.go | 12 + .../apiv1/metadata_client_example_test.go | 42 ++ .../apiv1/migration_client_example_test.go | 18 + aiplatform/apiv1/model_client_example_test.go | 36 + .../apiv1/model_garden_client_example_test.go | 12 + .../apiv1/pipeline_client_example_test.go | 24 + .../apiv1/prediction_client_example_test.go | 12 + .../apiv1/schedule_client_example_test.go | 18 + .../specialist_pool_client_example_test.go | 18 + .../apiv1/tensorboard_client_example_test.go | 42 ++ .../apiv1/vizier_client_example_test.go | 24 + .../apiv1beta1/dataset_client_example_test.go | 48 ++ ...yment_resource_pool_client_example_test.go | 24 + .../endpoint_client_example_test.go | 18 + .../evaluation_client_example_test.go | 12 + ...extension_execution_client_example_test.go | 12 + .../extension_registry_client_example_test.go | 18 + ..._online_store_admin_client_example_test.go | 30 + ...eature_online_store_client_example_test.go | 12 + .../feature_registry_client_example_test.go | 24 + .../featurestore_client_example_test.go | 36 + ...tore_online_serving_client_example_test.go | 12 + .../apiv1beta1/index_client_example_test.go | 18 + .../index_endpoint_client_example_test.go | 18 + .../apiv1beta1/job_client_example_test.go | 60 ++ .../llm_utility_client_example_test.go | 12 + .../apiv1beta1/match_client_example_test.go | 12 + .../metadata_client_example_test.go | 42 ++ .../migration_client_example_test.go | 18 + .../apiv1beta1/model_client_example_test.go | 36 + .../model_garden_client_example_test.go | 18 + ...persistent_resource_client_example_test.go | 18 + .../pipeline_client_example_test.go | 24 + .../prediction_client_example_test.go | 12 + .../reasoning_engine_client_example_test.go | 18 + ...ng_engine_execution_client_example_test.go | 12 + .../schedule_client_example_test.go | 18 + .../specialist_pool_client_example_test.go | 18 + .../tensorboard_client_example_test.go | 42 ++ .../apiv1beta1/vizier_client_example_test.go | 24 + .../alloydb_admin_client_example_test.go | 42 ++ .../alloydb_admin_client_example_test.go | 48 ++ .../alloydb_admin_client_example_test.go | 48 ++ .../analytics_admin_client_example_test.go | 150 +++++ .../apiv1/api_gateway_client_example_test.go | 18 + .../apiv1/connection_client_example_test.go | 6 + apigeeconnect/apiv1/doc.go | 6 + .../apiv1/provisioning_client_example_test.go | 12 + .../apiv1/registry_client_example_test.go | 54 ++ apikeys/apiv2/api_keys_client_example_test.go | 6 + ...orized_certificates_client_example_test.go | 6 + .../authorized_domains_client_example_test.go | 6 + .../domain_mappings_client_example_test.go | 6 + .../apiv1/firewall_client_example_test.go | 6 + .../apiv1/instances_client_example_test.go | 6 + .../apiv1/services_client_example_test.go | 6 + .../apiv1/versions_client_example_test.go | 6 + apphub/apiv1/app_hub_client_example_test.go | 48 ++ .../subscriptions_client_example_test.go | 6 + .../conference_records_client_example_test.go | 36 + .../conference_records_client_example_test.go | 36 + .../apiv1alpha1/tables_client_example_test.go | 18 + .../artifact_registry_client_example_test.go | 60 ++ .../artifact_registry_client_example_test.go | 36 + asset/apiv1/asset_client_example_test.go | 42 ++ asset/apiv1/assetpb/assets.pb.go | 616 +++++++++--------- .../apiv1p5beta1/asset_client_example_test.go | 6 + asset/apiv1p5beta1/doc.go | 6 + .../assured_workloads_client_example_test.go | 18 + .../assured_workloads_client_example_test.go | 12 + automl/apiv1/auto_ml_client_example_test.go | 18 + .../apiv1beta1/auto_ml_client_example_test.go | 30 + ...bare_metal_solution_client_example_test.go | 60 ++ batch/apiv1/batch_client_example_test.go | 24 + .../app_connections_client_example_test.go | 24 + .../app_connectors_client_example_test.go | 18 + .../apiv1/app_gateways_client_example_test.go | 18 + ..._connector_services_client_example_test.go | 18 + .../client_gateways_client_example_test.go | 18 + .../analytics_hub_client_example_test.go | 30 + .../apiv1/metastore_client_example_test.go | 18 + .../metastore_client_example_test.go | 24 + .../apiv1/connection_client_example_test.go | 6 + .../analytics_hub_client_example_test.go | 24 + .../apiv1/data_policy_client_example_test.go | 6 + .../data_policy_client_example_test.go | 6 + .../data_transfer_client_example_test.go | 30 + .../apiv2/migration_client_example_test.go | 12 + .../migration_client_example_test.go | 12 + .../apiv1/reservation_client_example_test.go | 30 + .../cloud_billing_client_example_test.go | 12 + .../cloud_catalog_client_example_test.go | 12 + .../apiv1/budget_client_example_test.go | 6 + .../apiv1beta1/budget_client_example_test.go | 6 + ...binauthz_management_client_example_test.go | 6 + ...nt_service_v1_beta1_client_example_test.go | 6 + ...certificate_manager_client_example_test.go | 48 ++ .../cloud_channel_client_example_test.go | 102 +++ ...oud_channel_reports_client_example_test.go | 18 + channel/apiv1/doc.go | 6 + .../v2/cloud_build_client_example_test.go | 18 + .../repository_manager_client_example_test.go | 18 + ...ntrols_partner_core_client_example_test.go | 18 + ..._partner_monitoring_client_example_test.go | 6 + ...ntrols_partner_core_client_example_test.go | 18 + ..._partner_monitoring_client_example_test.go | 6 + .../data_migration_client_example_test.go | 54 ++ .../apiv2/export_client_example_test.go | 6 + .../apiv1/cloud_quotas_client_example_test.go | 12 + .../apiv2/cloud_tasks_client_example_test.go | 18 + .../cloud_tasks_client_example_test.go | 18 + .../cloud_tasks_client_example_test.go | 18 + ...onsumer_procurement_client_example_test.go | 6 + .../accelerator_types_client_example_test.go | 12 + .../apiv1/addresses_client_example_test.go | 12 + .../apiv1/autoscalers_client_example_test.go | 12 + .../backend_buckets_client_example_test.go | 6 + .../backend_services_client_example_test.go | 18 + .../apiv1/disk_types_client_example_test.go | 12 + compute/apiv1/disks_client_example_test.go | 12 + compute/apiv1/doc.go | 6 + ...ternal_vpn_gateways_client_example_test.go | 6 + .../firewall_policies_client_example_test.go | 6 + .../apiv1/firewalls_client_example_test.go | 6 + .../forwarding_rules_client_example_test.go | 12 + .../global_addresses_client_example_test.go | 6 + ...al_forwarding_rules_client_example_test.go | 6 + ...ork_endpoint_groups_client_example_test.go | 12 + .../global_operations_client_example_test.go | 12 + ...nization_operations_client_example_test.go | 6 + ..._delegated_prefixes_client_example_test.go | 6 + .../health_checks_client_example_test.go | 12 + compute/apiv1/images_client_example_test.go | 6 + ...ance_group_managers_client_example_test.go | 30 + .../instance_groups_client_example_test.go | 18 + .../instance_templates_client_example_test.go | 12 + .../apiv1/instances_client_example_test.go | 18 + .../instant_snapshots_client_example_test.go | 12 + ...connect_attachments_client_example_test.go | 12 + ...erconnect_locations_client_example_test.go | 6 + ...ct_remote_locations_client_example_test.go | 6 + .../interconnects_client_example_test.go | 6 + compute/apiv1/licenses_client_example_test.go | 6 + .../machine_images_client_example_test.go | 6 + .../machine_types_client_example_test.go | 12 + ...network_attachments_client_example_test.go | 12 + ...e_security_services_client_example_test.go | 6 + ...ork_endpoint_groups_client_example_test.go | 18 + ...k_firewall_policies_client_example_test.go | 6 + compute/apiv1/networks_client_example_test.go | 12 + .../apiv1/node_groups_client_example_test.go | 18 + .../node_templates_client_example_test.go | 12 + .../apiv1/node_types_client_example_test.go | 12 + .../packet_mirrorings_client_example_test.go | 12 + compute/apiv1/projects_client_example_test.go | 12 + ...advertised_prefixes_client_example_test.go | 6 + ..._delegated_prefixes_client_example_test.go | 12 + .../region_autoscalers_client_example_test.go | 6 + ...on_backend_services_client_example_test.go | 12 + .../region_commitments_client_example_test.go | 12 + .../region_disk_types_client_example_test.go | 6 + .../apiv1/region_disks_client_example_test.go | 6 + ...alth_check_services_client_example_test.go | 6 + ...egion_health_checks_client_example_test.go | 6 + ...ance_group_managers_client_example_test.go | 24 + ...ion_instance_groups_client_example_test.go | 12 + ..._instance_templates_client_example_test.go | 6 + ...n_instant_snapshots_client_example_test.go | 6 + ...ork_endpoint_groups_client_example_test.go | 12 + ...k_firewall_policies_client_example_test.go | 6 + ...ification_endpoints_client_example_test.go | 6 + .../region_operations_client_example_test.go | 6 + ...n_security_policies_client_example_test.go | 6 + ...on_ssl_certificates_client_example_test.go | 6 + ...region_ssl_policies_client_example_test.go | 6 + ...target_http_proxies_client_example_test.go | 6 + ...arget_https_proxies_client_example_test.go | 6 + ..._target_tcp_proxies_client_example_test.go | 6 + .../region_url_maps_client_example_test.go | 6 + .../apiv1/region_zones_client_example_test.go | 6 + compute/apiv1/regions_client_example_test.go | 6 + .../apiv1/reservations_client_example_test.go | 12 + .../resource_policies_client_example_test.go | 12 + compute/apiv1/routers_client_example_test.go | 18 + compute/apiv1/routes_client_example_test.go | 6 + .../security_policies_client_example_test.go | 12 + ...service_attachments_client_example_test.go | 12 + .../apiv1/snapshots_client_example_test.go | 6 + .../ssl_certificates_client_example_test.go | 12 + .../apiv1/ssl_policies_client_example_test.go | 12 + .../apiv1/subnetworks_client_example_test.go | 18 + ...target_grpc_proxies_client_example_test.go | 6 + ...target_http_proxies_client_example_test.go | 12 + ...arget_https_proxies_client_example_test.go | 12 + .../target_instances_client_example_test.go | 12 + .../apiv1/target_pools_client_example_test.go | 12 + .../target_ssl_proxies_client_example_test.go | 6 + .../target_tcp_proxies_client_example_test.go | 12 + ...target_vpn_gateways_client_example_test.go | 12 + compute/apiv1/url_maps_client_example_test.go | 12 + .../apiv1/vpn_gateways_client_example_test.go | 12 + .../apiv1/vpn_tunnels_client_example_test.go | 12 + .../zone_operations_client_example_test.go | 6 + compute/apiv1/zones_client_example_test.go | 6 + ...fidential_computing_client_example_test.go | 6 + ...fidential_computing_client_example_test.go | 6 + config/apiv1/config_client_example_test.go | 42 ++ ...act_center_insights_client_example_test.go | 30 + .../cluster_manager_client_example_test.go | 6 + .../grafeas_v1_beta1_client_example_test.go | 18 + .../apiv1/data_catalog_client_example_test.go | 30 + .../policy_tag_manager_client_example_test.go | 18 + ...nager_serialization_client_example_test.go | 6 + .../data_catalog_client_example_test.go | 24 + .../policy_tag_manager_client_example_test.go | 12 + datacatalog/lineage/apiv1/doc.go | 6 + .../apiv1/lineage_client_example_test.go | 36 + .../jobs_v1_beta3_client_example_test.go | 12 + .../messages_v1_beta3_client_example_test.go | 6 + .../metrics_v1_beta3_client_example_test.go | 12 + .../dataform_client_example_test.go | 48 ++ .../dataform_client_example_test.go | 72 ++ .../apiv1/data_fusion_client_example_test.go | 12 + .../data_labeling_client_example_test.go | 54 ++ dataplex/apiv1/catalog_client_example_test.go | 42 ++ dataplex/apiv1/content_client_example_test.go | 18 + .../apiv1/data_scan_client_example_test.go | 24 + .../data_taxonomy_client_example_test.go | 30 + .../apiv1/dataplex_client_example_test.go | 72 ++ .../apiv1/metadata_client_example_test.go | 24 + .../autoscaling_policy_client_example_test.go | 12 + .../batch_controller_client_example_test.go | 12 + .../cluster_controller_client_example_test.go | 12 + .../job_controller_client_example_test.go | 12 + ...de_group_controller_client_example_test.go | 6 + .../session_controller_client_example_test.go | 12 + ...template_controller_client_example_test.go | 12 + .../workflow_template_client_example_test.go | 12 + .../datastore_admin_client_example_test.go | 12 + .../apiv1/datastream_client_example_test.go | 48 ++ .../datastream_client_example_test.go | 30 + .../apiv1/cloud_deploy_client_example_test.go | 60 ++ .../apiv2/agents_client_example_test.go | 18 + .../answer_records_client_example_test.go | 18 + .../apiv2/contexts_client_example_test.go | 18 + ...nversation_datasets_client_example_test.go | 18 + ...conversation_models_client_example_test.go | 24 + ...nversation_profiles_client_example_test.go | 18 + .../conversations_client_example_test.go | 24 + .../apiv2/documents_client_example_test.go | 18 + .../apiv2/entity_types_client_example_test.go | 18 + .../apiv2/environments_client_example_test.go | 24 + .../apiv2/fulfillments_client_example_test.go | 12 + .../apiv2/intents_client_example_test.go | 18 + .../knowledge_bases_client_example_test.go | 18 + .../apiv2/participants_client_example_test.go | 18 + ...ession_entity_types_client_example_test.go | 18 + .../apiv2/sessions_client_example_test.go | 12 + .../apiv2/versions_client_example_test.go | 18 + .../apiv2beta1/agents_client_example_test.go | 18 + .../answer_records_client_example_test.go | 18 + .../contexts_client_example_test.go | 18 + ...nversation_profiles_client_example_test.go | 18 + .../conversations_client_example_test.go | 24 + .../documents_client_example_test.go | 18 + .../entity_types_client_example_test.go | 18 + .../environments_client_example_test.go | 24 + .../fulfillments_client_example_test.go | 12 + .../apiv2beta1/intents_client_example_test.go | 18 + .../knowledge_bases_client_example_test.go | 18 + .../participants_client_example_test.go | 24 + ...ession_entity_types_client_example_test.go | 18 + .../sessions_client_example_test.go | 12 + .../versions_client_example_test.go | 18 + .../cx/apiv3/agents_client_example_test.go | 18 + .../apiv3/changelogs_client_example_test.go | 18 + .../apiv3/deployments_client_example_test.go | 18 + .../apiv3/entity_types_client_example_test.go | 18 + .../apiv3/environments_client_example_test.go | 30 + .../apiv3/experiments_client_example_test.go | 18 + .../cx/apiv3/flows_client_example_test.go | 18 + .../apiv3/generators_client_example_test.go | 18 + .../cx/apiv3/intents_client_example_test.go | 18 + .../cx/apiv3/pages_client_example_test.go | 18 + .../security_settings_client_example_test.go | 18 + ...ession_entity_types_client_example_test.go | 18 + .../cx/apiv3/sessions_client_example_test.go | 12 + .../apiv3/test_cases_client_example_test.go | 24 + ...sition_route_groups_client_example_test.go | 18 + .../cx/apiv3/versions_client_example_test.go | 18 + .../cx/apiv3/webhooks_client_example_test.go | 18 + .../apiv3beta1/agents_client_example_test.go | 18 + .../changelogs_client_example_test.go | 18 + .../deployments_client_example_test.go | 18 + .../entity_types_client_example_test.go | 18 + .../environments_client_example_test.go | 30 + .../examples_client_example_test.go | 18 + .../experiments_client_example_test.go | 18 + .../apiv3beta1/flows_client_example_test.go | 18 + .../generators_client_example_test.go | 18 + .../apiv3beta1/intents_client_example_test.go | 18 + .../apiv3beta1/pages_client_example_test.go | 18 + .../playbooks_client_example_test.go | 24 + .../security_settings_client_example_test.go | 18 + ...ession_entity_types_client_example_test.go | 18 + .../sessions_client_example_test.go | 12 + .../test_cases_client_example_test.go | 24 + .../apiv3beta1/tools_client_example_test.go | 18 + ...sition_route_groups_client_example_test.go | 18 + .../versions_client_example_test.go | 18 + .../webhooks_client_example_test.go | 18 + .../apiv1/completion_client_example_test.go | 6 + ...nversational_search_client_example_test.go | 12 + .../apiv1/data_store_client_example_test.go | 12 + .../apiv1/document_client_example_test.go | 12 + .../apiv1/engine_client_example_test.go | 12 + .../apiv1/schema_client_example_test.go | 12 + .../apiv1/search_client_example_test.go | 12 + .../site_search_engine_client_example_test.go | 18 + .../apiv1/user_event_client_example_test.go | 6 + .../acl_config_client_example_test.go | 6 + .../apiv1alpha/chunk_client_example_test.go | 12 + .../completion_client_example_test.go | 6 + ...nversational_search_client_example_test.go | 12 + .../data_store_client_example_test.go | 12 + .../document_client_example_test.go | 12 + .../apiv1alpha/engine_client_example_test.go | 12 + .../estimate_billing_client_example_test.go | 6 + .../recommendation_client_example_test.go | 6 + .../apiv1alpha/schema_client_example_test.go | 12 + .../apiv1alpha/search_client_example_test.go | 12 + .../search_tuning_client_example_test.go | 6 + .../serving_config_client_example_test.go | 12 + .../site_search_engine_client_example_test.go | 18 + .../user_event_client_example_test.go | 6 + .../completion_client_example_test.go | 6 + ...nversational_search_client_example_test.go | 12 + .../data_store_client_example_test.go | 12 + .../apiv1beta/document_client_example_test.go | 12 + .../apiv1beta/engine_client_example_test.go | 12 + .../recommendation_client_example_test.go | 6 + .../apiv1beta/schema_client_example_test.go | 12 + .../apiv1beta/search_client_example_test.go | 12 + .../search_tuning_client_example_test.go | 6 + .../serving_config_client_example_test.go | 12 + .../site_search_engine_client_example_test.go | 18 + .../user_event_client_example_test.go | 6 + dlp/apiv2/dlp_client_example_test.go | 54 ++ .../document_processor_client_example_test.go | 36 + .../document_client_example_test.go | 18 + .../document_processor_client_example_test.go | 36 + .../apiv1beta1/domains_client_example_test.go | 6 + .../edge_container_client_example_test.go | 36 + .../apiv1/edge_network_client_example_test.go | 48 ++ essentialcontacts/apiv1/doc.go | 6 + .../essential_contacts_client_example_test.go | 12 + .../apiv1/eventarc_client_example_test.go | 36 + ...d_filestore_manager_client_example_test.go | 30 + .../apiv1/admin/adminpb/firestore_admin.pb.go | 2 +- firestore/apiv1/admin/adminpb/schedule.pb.go | 6 +- .../firestore_admin_client_example_test.go | 18 + .../apiv1/firestore_client_example_test.go | 24 + .../cloud_functions_client_example_test.go | 18 + .../apiv2/function_client_example_test.go | 18 + .../apiv2beta/function_client_example_test.go | 18 + .../backup_forgke_client_example_test.go | 48 ++ .../gke_hub_membership_client_example_test.go | 18 + .../attached_clusters_client_example_test.go | 12 + .../apiv1/aws_clusters_client_example_test.go | 18 + .../azure_clusters_client_example_test.go | 24 + .../g_suite_add_ons_client_example_test.go | 6 + iam/apiv2/policies_client_example_test.go | 6 + ...y_aware_proxy_admin_client_example_test.go | 6 + ...y_aware_proxyo_auth_client_example_test.go | 6 + ids/apiv1/ids_client_example_test.go | 6 + .../apiv1/Client/ListApprovalRequests/main.go | 6 + ...tadata.google.cloud.accessapproval.v1.json | 2 +- .../apiv1/Client/ListAccessLevels/main.go | 6 + .../apiv1/Client/ListAccessPolicies/main.go | 6 + .../Client/ListGcpUserAccessBindings/main.go | 6 + .../Client/ListServicePerimeters/main.go | 6 + ...ogle.identity.accesscontextmanager.v1.json | 8 +- .../apiv1/Client/ListNotifications/main.go | 6 + ...google.cloud.advisorynotifications.v1.json | 2 +- .../GenerativeClient/ListOperations/main.go | 6 + .../apiv1/ModelClient/ListModels/main.go | 6 + .../apiv1/ModelClient/ListOperations/main.go | 6 + ...adata.google.ai.generativelanguage.v1.json | 6 +- .../apiv1beta/ModelClient/ListModels/main.go | 6 + .../ModelClient/ListTunedModels/main.go | 6 + .../PermissionClient/ListPermissions/main.go | 6 + .../RetrieverClient/ListChunks/main.go | 6 + .../RetrieverClient/ListCorpora/main.go | 6 + .../RetrieverClient/ListDocuments/main.go | 6 + ...a.google.ai.generativelanguage.v1beta.json | 12 +- .../apiv1beta2/ModelClient/ListModels/main.go | 6 + ....google.ai.generativelanguage.v1beta2.json | 2 +- .../DatasetClient/ListAnnotations/main.go | 6 + .../apiv1/DatasetClient/ListDataItems/main.go | 6 + .../DatasetClient/ListDatasetVersions/main.go | 6 + .../apiv1/DatasetClient/ListDatasets/main.go | 6 + .../apiv1/DatasetClient/ListLocations/main.go | 6 + .../DatasetClient/ListOperations/main.go | 6 + .../DatasetClient/ListSavedQueries/main.go | 6 + .../DatasetClient/SearchDataItems/main.go | 6 + .../ListDeploymentResourcePools/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../QueryDeployedModels/main.go | 6 + .../EndpointClient/ListEndpoints/main.go | 6 + .../EndpointClient/ListLocations/main.go | 6 + .../EndpointClient/ListOperations/main.go | 6 + .../ListFeatureOnlineStores/main.go | 6 + .../ListFeatureViewSyncs/main.go | 6 + .../ListFeatureViews/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListFeatureGroups/main.go | 6 + .../ListFeatures/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListEntityTypes/main.go | 6 + .../FeaturestoreClient/ListFeatures/main.go | 6 + .../ListFeaturestores/main.go | 6 + .../FeaturestoreClient/ListLocations/main.go | 6 + .../FeaturestoreClient/ListOperations/main.go | 6 + .../FeaturestoreClient/SearchFeatures/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../apiv1/IndexClient/ListIndexes/main.go | 6 + .../apiv1/IndexClient/ListLocations/main.go | 6 + .../apiv1/IndexClient/ListOperations/main.go | 6 + .../ListIndexEndpoints/main.go | 6 + .../IndexEndpointClient/ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../JobClient/ListBatchPredictionJobs/main.go | 6 + .../apiv1/JobClient/ListCustomJobs/main.go | 6 + .../JobClient/ListDataLabelingJobs/main.go | 6 + .../ListHyperparameterTuningJobs/main.go | 6 + .../apiv1/JobClient/ListLocations/main.go | 6 + .../ListModelDeploymentMonitoringJobs/main.go | 6 + .../apiv1/JobClient/ListNasJobs/main.go | 6 + .../JobClient/ListNasTrialDetails/main.go | 6 + .../apiv1/JobClient/ListOperations/main.go | 6 + .../main.go | 6 + .../LlmUtilityClient/ListLocations/main.go | 6 + .../LlmUtilityClient/ListOperations/main.go | 6 + .../apiv1/MatchClient/ListLocations/main.go | 6 + .../apiv1/MatchClient/ListOperations/main.go | 6 + .../MetadataClient/ListArtifacts/main.go | 6 + .../apiv1/MetadataClient/ListContexts/main.go | 6 + .../MetadataClient/ListExecutions/main.go | 6 + .../MetadataClient/ListLocations/main.go | 6 + .../ListMetadataSchemas/main.go | 6 + .../MetadataClient/ListMetadataStores/main.go | 6 + .../MetadataClient/ListOperations/main.go | 6 + .../MigrationClient/ListLocations/main.go | 6 + .../MigrationClient/ListOperations/main.go | 6 + .../SearchMigratableResources/main.go | 6 + .../apiv1/ModelClient/ListLocations/main.go | 6 + .../ListModelEvaluationSlices/main.go | 6 + .../ModelClient/ListModelEvaluations/main.go | 6 + .../ModelClient/ListModelVersions/main.go | 6 + .../apiv1/ModelClient/ListModels/main.go | 6 + .../apiv1/ModelClient/ListOperations/main.go | 6 + .../ModelGardenClient/ListLocations/main.go | 6 + .../ModelGardenClient/ListOperations/main.go | 6 + .../PipelineClient/ListLocations/main.go | 6 + .../PipelineClient/ListOperations/main.go | 6 + .../PipelineClient/ListPipelineJobs/main.go | 6 + .../ListTrainingPipelines/main.go | 6 + .../PredictionClient/ListLocations/main.go | 6 + .../PredictionClient/ListOperations/main.go | 6 + .../ScheduleClient/ListLocations/main.go | 6 + .../ScheduleClient/ListOperations/main.go | 6 + .../ScheduleClient/ListSchedules/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSpecialistPools/main.go | 6 + .../ExportTensorboardTimeSeriesData/main.go | 6 + .../TensorboardClient/ListLocations/main.go | 6 + .../TensorboardClient/ListOperations/main.go | 6 + .../ListTensorboardExperiments/main.go | 6 + .../ListTensorboardRuns/main.go | 6 + .../ListTensorboardTimeSeries/main.go | 6 + .../ListTensorboards/main.go | 6 + .../apiv1/VizierClient/ListLocations/main.go | 6 + .../apiv1/VizierClient/ListOperations/main.go | 6 + .../apiv1/VizierClient/ListStudies/main.go | 6 + .../apiv1/VizierClient/ListTrials/main.go | 6 + ...t_metadata.google.cloud.aiplatform.v1.json | 192 +++--- .../DatasetClient/ListAnnotations/main.go | 6 + .../DatasetClient/ListDataItems/main.go | 6 + .../DatasetClient/ListDatasetVersions/main.go | 6 + .../DatasetClient/ListDatasets/main.go | 6 + .../DatasetClient/ListLocations/main.go | 6 + .../DatasetClient/ListOperations/main.go | 6 + .../DatasetClient/ListSavedQueries/main.go | 6 + .../DatasetClient/SearchDataItems/main.go | 6 + .../ListDeploymentResourcePools/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../QueryDeployedModels/main.go | 6 + .../EndpointClient/ListEndpoints/main.go | 6 + .../EndpointClient/ListLocations/main.go | 6 + .../EndpointClient/ListOperations/main.go | 6 + .../EvaluationClient/ListLocations/main.go | 6 + .../EvaluationClient/ListOperations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListExtensions/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListFeatureOnlineStores/main.go | 6 + .../ListFeatureViewSyncs/main.go | 6 + .../ListFeatureViews/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListFeatureGroups/main.go | 6 + .../ListFeatures/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListEntityTypes/main.go | 6 + .../FeaturestoreClient/ListFeatures/main.go | 6 + .../ListFeaturestores/main.go | 6 + .../FeaturestoreClient/ListLocations/main.go | 6 + .../FeaturestoreClient/ListOperations/main.go | 6 + .../FeaturestoreClient/SearchFeatures/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../IndexClient/ListIndexes/main.go | 6 + .../IndexClient/ListLocations/main.go | 6 + .../IndexClient/ListOperations/main.go | 6 + .../ListIndexEndpoints/main.go | 6 + .../IndexEndpointClient/ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../JobClient/ListBatchPredictionJobs/main.go | 6 + .../JobClient/ListCustomJobs/main.go | 6 + .../JobClient/ListDataLabelingJobs/main.go | 6 + .../ListHyperparameterTuningJobs/main.go | 6 + .../JobClient/ListLocations/main.go | 6 + .../ListModelDeploymentMonitoringJobs/main.go | 6 + .../apiv1beta1/JobClient/ListNasJobs/main.go | 6 + .../JobClient/ListNasTrialDetails/main.go | 6 + .../JobClient/ListOperations/main.go | 6 + .../main.go | 6 + .../LlmUtilityClient/ListLocations/main.go | 6 + .../LlmUtilityClient/ListOperations/main.go | 6 + .../MatchClient/ListLocations/main.go | 6 + .../MatchClient/ListOperations/main.go | 6 + .../MetadataClient/ListArtifacts/main.go | 6 + .../MetadataClient/ListContexts/main.go | 6 + .../MetadataClient/ListExecutions/main.go | 6 + .../MetadataClient/ListLocations/main.go | 6 + .../ListMetadataSchemas/main.go | 6 + .../MetadataClient/ListMetadataStores/main.go | 6 + .../MetadataClient/ListOperations/main.go | 6 + .../MigrationClient/ListLocations/main.go | 6 + .../MigrationClient/ListOperations/main.go | 6 + .../SearchMigratableResources/main.go | 6 + .../ModelClient/ListLocations/main.go | 6 + .../ListModelEvaluationSlices/main.go | 6 + .../ModelClient/ListModelEvaluations/main.go | 6 + .../ModelClient/ListModelVersions/main.go | 6 + .../apiv1beta1/ModelClient/ListModels/main.go | 6 + .../ModelClient/ListOperations/main.go | 6 + .../ModelGardenClient/ListLocations/main.go | 6 + .../ModelGardenClient/ListOperations/main.go | 6 + .../ListPublisherModels/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListPersistentResources/main.go | 6 + .../PipelineClient/ListLocations/main.go | 6 + .../PipelineClient/ListOperations/main.go | 6 + .../PipelineClient/ListPipelineJobs/main.go | 6 + .../ListTrainingPipelines/main.go | 6 + .../PredictionClient/ListLocations/main.go | 6 + .../PredictionClient/ListOperations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListReasoningEngines/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ScheduleClient/ListLocations/main.go | 6 + .../ScheduleClient/ListOperations/main.go | 6 + .../ScheduleClient/ListSchedules/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSpecialistPools/main.go | 6 + .../ExportTensorboardTimeSeriesData/main.go | 6 + .../TensorboardClient/ListLocations/main.go | 6 + .../TensorboardClient/ListOperations/main.go | 6 + .../ListTensorboardExperiments/main.go | 6 + .../ListTensorboardRuns/main.go | 6 + .../ListTensorboardTimeSeries/main.go | 6 + .../ListTensorboards/main.go | 6 + .../VizierClient/ListLocations/main.go | 6 + .../VizierClient/ListOperations/main.go | 6 + .../VizierClient/ListStudies/main.go | 6 + .../VizierClient/ListTrials/main.go | 6 + ...adata.google.cloud.aiplatform.v1beta1.json | 224 +++---- .../AlloyDBAdminClient/ListBackups/main.go | 6 + .../AlloyDBAdminClient/ListClusters/main.go | 6 + .../AlloyDBAdminClient/ListInstances/main.go | 6 + .../AlloyDBAdminClient/ListLocations/main.go | 6 + .../AlloyDBAdminClient/ListOperations/main.go | 6 + .../ListSupportedDatabaseFlags/main.go | 6 + .../AlloyDBAdminClient/ListUsers/main.go | 6 + ...ppet_metadata.google.cloud.alloydb.v1.json | 14 +- .../AlloyDBAdminClient/ListBackups/main.go | 6 + .../AlloyDBAdminClient/ListClusters/main.go | 6 + .../AlloyDBAdminClient/ListDatabases/main.go | 6 + .../AlloyDBAdminClient/ListInstances/main.go | 6 + .../AlloyDBAdminClient/ListLocations/main.go | 6 + .../AlloyDBAdminClient/ListOperations/main.go | 6 + .../ListSupportedDatabaseFlags/main.go | 6 + .../AlloyDBAdminClient/ListUsers/main.go | 6 + ...metadata.google.cloud.alloydb.v1alpha.json | 16 +- .../AlloyDBAdminClient/ListBackups/main.go | 6 + .../AlloyDBAdminClient/ListClusters/main.go | 6 + .../AlloyDBAdminClient/ListDatabases/main.go | 6 + .../AlloyDBAdminClient/ListInstances/main.go | 6 + .../AlloyDBAdminClient/ListLocations/main.go | 6 + .../AlloyDBAdminClient/ListOperations/main.go | 6 + .../ListSupportedDatabaseFlags/main.go | 6 + .../AlloyDBAdminClient/ListUsers/main.go | 6 + ..._metadata.google.cloud.alloydb.v1beta.json | 16 +- .../ListAccessBindings/main.go | 6 + .../ListAccountSummaries/main.go | 6 + .../AnalyticsAdminClient/ListAccounts/main.go | 6 + .../ListAdSenseLinks/main.go | 6 + .../ListAudiences/main.go | 6 + .../ListBigQueryLinks/main.go | 6 + .../ListCalculatedMetrics/main.go | 6 + .../ListChannelGroups/main.go | 6 + .../ListConversionEvents/main.go | 6 + .../ListCustomDimensions/main.go | 6 + .../ListCustomMetrics/main.go | 6 + .../ListDataStreams/main.go | 6 + .../main.go | 6 + .../main.go | 6 + .../ListEventCreateRules/main.go | 6 + .../ListExpandedDataSets/main.go | 6 + .../ListFirebaseLinks/main.go | 6 + .../ListGoogleAdsLinks/main.go | 6 + .../ListMeasurementProtocolSecrets/main.go | 6 + .../ListProperties/main.go | 6 + .../ListRollupPropertySourceLinks/main.go | 6 + .../main.go | 6 + .../ListSearchAds360Links/main.go | 6 + .../ListSubpropertyEventFilters/main.go | 6 + .../SearchChangeHistoryEvents/main.go | 6 + ...tadata.google.analytics.admin.v1alpha.json | 50 +- .../apiv1/Client/ListApiConfigs/main.go | 6 + .../apigateway/apiv1/Client/ListApis/main.go | 6 + .../apiv1/Client/ListGateways/main.go | 6 + ...t_metadata.google.cloud.apigateway.v1.json | 6 +- .../ConnectionClient/ListConnections/main.go | 6 + ...etadata.google.cloud.apigeeconnect.v1.json | 2 +- .../ProvisioningClient/ListLocations/main.go | 6 + .../ProvisioningClient/ListOperations/main.go | 6 + .../ListApiDeploymentRevisions/main.go | 6 + .../RegistryClient/ListApiDeployments/main.go | 6 + .../ListApiSpecRevisions/main.go | 6 + .../apiv1/RegistryClient/ListApiSpecs/main.go | 6 + .../RegistryClient/ListApiVersions/main.go | 6 + .../apiv1/RegistryClient/ListApis/main.go | 6 + .../RegistryClient/ListArtifacts/main.go | 6 + .../RegistryClient/ListLocations/main.go | 6 + .../RegistryClient/ListOperations/main.go | 6 + ...tadata.google.cloud.apigeeregistry.v1.json | 22 +- .../apikeys/apiv2/Client/ListKeys/main.go | 6 + ...nippet_metadata.google.api.apikeys.v2.json | 2 +- .../ListAuthorizedCertificates/main.go | 6 + .../ListAuthorizedDomains/main.go | 6 + .../ListDomainMappings/main.go | 6 + .../FirewallClient/ListIngressRules/main.go | 6 + .../InstancesClient/ListInstances/main.go | 6 + .../apiv1/ServicesClient/ListServices/main.go | 6 + .../apiv1/VersionsClient/ListVersions/main.go | 6 + .../snippet_metadata.google.appengine.v1.json | 14 +- .../apiv1/Client/ListApplications/main.go | 6 + .../Client/ListDiscoveredServices/main.go | 6 + .../Client/ListDiscoveredWorkloads/main.go | 6 + .../apphub/apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../ListServiceProjectAttachments/main.go | 6 + .../apphub/apiv1/Client/ListServices/main.go | 6 + .../apphub/apiv1/Client/ListWorkloads/main.go | 6 + ...ippet_metadata.google.cloud.apphub.v1.json | 16 +- .../apiv1/Client/ListSubscriptions/main.go | 6 + ...a.google.apps.events.subscriptions.v1.json | 2 +- .../ListConferenceRecords/main.go | 6 + .../ListParticipantSessions/main.go | 6 + .../ListParticipants/main.go | 6 + .../ListRecordings/main.go | 6 + .../ListTranscriptEntries/main.go | 6 + .../ListTranscripts/main.go | 6 + .../snippet_metadata.google.apps.meet.v2.json | 12 +- .../ListConferenceRecords/main.go | 6 + .../ListParticipantSessions/main.go | 6 + .../ListParticipants/main.go | 6 + .../ListRecordings/main.go | 6 + .../ListTranscriptEntries/main.go | 6 + .../ListTranscripts/main.go | 6 + ...ppet_metadata.google.apps.meet.v2beta.json | 12 +- .../apiv1alpha1/Client/ListRows/main.go | 6 + .../apiv1alpha1/Client/ListTables/main.go | 6 + .../apiv1alpha1/Client/ListWorkspaces/main.go | 6 + ...tadata.google.area120.tables.v1alpha1.json | 6 +- .../apiv1/Client/ListDockerImages/main.go | 6 + .../apiv1/Client/ListFiles/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListMavenArtifacts/main.go | 6 + .../apiv1/Client/ListNpmPackages/main.go | 6 + .../apiv1/Client/ListPackages/main.go | 6 + .../apiv1/Client/ListPythonPackages/main.go | 6 + .../apiv1/Client/ListRepositories/main.go | 6 + .../apiv1/Client/ListTags/main.go | 6 + .../apiv1/Client/ListVersions/main.go | 6 + ...a.google.devtools.artifactregistry.v1.json | 20 +- .../apiv1beta2/Client/ListFiles/main.go | 6 + .../apiv1beta2/Client/ListLocations/main.go | 6 + .../apiv1beta2/Client/ListPackages/main.go | 6 + .../Client/ListRepositories/main.go | 6 + .../apiv1beta2/Client/ListTags/main.go | 6 + .../apiv1beta2/Client/ListVersions/main.go | 6 + ...gle.devtools.artifactregistry.v1beta2.json | 12 +- .../apiv1/Client/AnalyzeOrgPolicies/main.go | 6 + .../AnalyzeOrgPolicyGovernedAssets/main.go | 6 + .../main.go | 6 + .../asset/apiv1/Client/ListAssets/main.go | 6 + .../apiv1/Client/ListSavedQueries/main.go | 6 + .../apiv1/Client/SearchAllIamPolicies/main.go | 6 + .../apiv1/Client/SearchAllResources/main.go | 6 + ...nippet_metadata.google.cloud.asset.v1.json | 14 +- .../apiv1p5beta1/Client/ListAssets/main.go | 6 + ...metadata.google.cloud.asset.v1p5beta1.json | 2 +- .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListViolations/main.go | 6 + .../apiv1/Client/ListWorkloads/main.go | 6 + ...data.google.cloud.assuredworkloads.v1.json | 6 +- .../apiv1beta1/Client/ListOperations/main.go | 6 + .../apiv1beta1/Client/ListWorkloads/main.go | 6 + ...google.cloud.assuredworkloads.v1beta1.json | 4 +- .../automl/apiv1/Client/ListDatasets/main.go | 6 + .../apiv1/Client/ListModelEvaluations/main.go | 6 + .../automl/apiv1/Client/ListModels/main.go | 6 + ...ippet_metadata.google.cloud.automl.v1.json | 6 +- .../apiv1beta1/Client/ListColumnSpecs/main.go | 6 + .../apiv1beta1/Client/ListDatasets/main.go | 6 + .../Client/ListModelEvaluations/main.go | 6 + .../apiv1beta1/Client/ListModels/main.go | 6 + .../apiv1beta1/Client/ListTableSpecs/main.go | 6 + ..._metadata.google.cloud.automl.v1beta1.json | 10 +- .../apiv2/Client/ListInstances/main.go | 6 + .../apiv2/Client/ListLocations/main.go | 6 + .../apiv2/Client/ListLuns/main.go | 6 + .../apiv2/Client/ListNetworks/main.go | 6 + .../apiv2/Client/ListNfsShares/main.go | 6 + .../apiv2/Client/ListOSImages/main.go | 6 + .../Client/ListProvisioningQuotas/main.go | 6 + .../apiv2/Client/ListSSHKeys/main.go | 6 + .../apiv2/Client/ListVolumeSnapshots/main.go | 6 + .../apiv2/Client/ListVolumes/main.go | 6 + ...ata.google.cloud.baremetalsolution.v2.json | 20 +- .../batch/apiv1/Client/ListJobs/main.go | 6 + .../batch/apiv1/Client/ListLocations/main.go | 6 + .../batch/apiv1/Client/ListOperations/main.go | 6 + .../batch/apiv1/Client/ListTasks/main.go | 6 + ...nippet_metadata.google.cloud.batch.v1.json | 8 +- .../apiv1/Client/ListAppConnections/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../Client/ResolveAppConnections/main.go | 6 + ...le.cloud.beyondcorp.appconnections.v1.json | 8 +- .../apiv1/Client/ListAppConnectors/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...gle.cloud.beyondcorp.appconnectors.v1.json | 6 +- .../apiv1/Client/ListAppGateways/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...oogle.cloud.beyondcorp.appgateways.v1.json | 6 +- .../ListClientConnectorServices/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...beyondcorp.clientconnectorservices.v1.json | 6 +- .../apiv1/Client/ListClientGateways/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...le.cloud.beyondcorp.clientgateways.v1.json | 6 +- .../apiv1/Client/ListDataExchanges/main.go | 6 + .../apiv1/Client/ListListings/main.go | 6 + .../apiv1/Client/ListOrgDataExchanges/main.go | 6 + .../ListSharedResourceSubscriptions/main.go | 6 + .../apiv1/Client/ListSubscriptions/main.go | 6 + ...google.cloud.bigquery.analyticshub.v1.json | 12 +- .../MetastoreClient/ListCatalogs/main.go | 6 + .../MetastoreClient/ListDatabases/main.go | 6 + .../apiv1/MetastoreClient/ListTables/main.go | 6 + ...data.google.cloud.bigquery.biglake.v1.json | 8 +- .../MetastoreClient/ListCatalogs/main.go | 6 + .../MetastoreClient/ListDatabases/main.go | 6 + .../MetastoreClient/ListLocks/main.go | 6 + .../MetastoreClient/ListTables/main.go | 6 + ...oogle.cloud.bigquery.biglake.v1alpha1.json | 10 +- .../apiv1/Client/ListConnections/main.go | 6 + ...a.google.cloud.bigquery.connection.v1.json | 4 +- ...gle.cloud.bigquery.connection.v1beta1.json | 2 +- .../ListDataExchanges/main.go | 6 + .../AnalyticsHubClient/ListListings/main.go | 6 + .../AnalyticsHubClient/ListLocations/main.go | 6 + .../ListOrgDataExchanges/main.go | 6 + ...e.cloud.bigquery.dataexchange.v1beta1.json | 10 +- .../DataPolicyClient/ListDataPolicies/main.go | 6 + ...google.cloud.bigquery.datapolicies.v1.json | 4 +- .../DataPolicyClient/ListDataPolicies/main.go | 6 + ...e.cloud.bigquery.datapolicies.v1beta1.json | 4 +- .../apiv1/Client/ListDataSources/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListTransferConfigs/main.go | 6 + .../apiv1/Client/ListTransferLogs/main.go | 6 + .../apiv1/Client/ListTransferRuns/main.go | 6 + ...google.cloud.bigquery.datatransfer.v1.json | 12 +- .../Client/ListMigrationSubtasks/main.go | 6 + .../Client/ListMigrationWorkflows/main.go | 6 + ...ta.google.cloud.bigquery.migration.v2.json | 6 +- .../Client/ListMigrationSubtasks/main.go | 6 + .../Client/ListMigrationWorkflows/main.go | 6 + ...ogle.cloud.bigquery.migration.v2alpha.json | 6 +- .../apiv1/Client/ListAssignments/main.go | 6 + .../Client/ListCapacityCommitments/main.go | 6 + .../apiv1/Client/ListReservations/main.go | 6 + .../apiv1/Client/SearchAllAssignments/main.go | 6 + .../apiv1/Client/SearchAssignments/main.go | 6 + ....google.cloud.bigquery.reservation.v1.json | 12 +- ...data.google.cloud.bigquery.storage.v1.json | 2 +- ...google.cloud.bigquery.storage.v1beta1.json | 2 +- ...google.cloud.bigquery.storage.v1beta2.json | 2 +- .../ListBillingAccounts/main.go | 6 + .../ListProjectBillingInfo/main.go | 6 + .../CloudCatalogClient/ListServices/main.go | 6 + .../apiv1/CloudCatalogClient/ListSkus/main.go | 6 + ...ppet_metadata.google.cloud.billing.v1.json | 8 +- .../apiv1/BudgetClient/ListBudgets/main.go | 6 + ...adata.google.cloud.billing.budgets.v1.json | 2 +- .../BudgetClient/ListBudgets/main.go | 6 + ....google.cloud.billing.budgets.v1beta1.json | 2 +- .../ListAttestors/main.go | 6 + ...a.google.cloud.binaryauthorization.v1.json | 2 +- .../ListAttestors/main.go | 6 + ...gle.cloud.binaryauthorization.v1beta1.json | 2 +- .../ListCertificateIssuanceConfigs/main.go | 6 + .../Client/ListCertificateMapEntries/main.go | 6 + .../apiv1/Client/ListCertificateMaps/main.go | 6 + .../apiv1/Client/ListCertificates/main.go | 6 + .../Client/ListDnsAuthorizations/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListTrustConfigs/main.go | 6 + ...ta.google.cloud.certificatemanager.v1.json | 16 +- .../ListChannelPartnerLinks/main.go | 6 + .../main.go | 6 + .../ListCustomerRepricingConfigs/main.go | 6 + .../CloudChannelClient/ListCustomers/main.go | 6 + .../ListEntitlementChanges/main.go | 6 + .../ListEntitlements/main.go | 6 + .../CloudChannelClient/ListOffers/main.go | 6 + .../CloudChannelClient/ListOperations/main.go | 6 + .../CloudChannelClient/ListProducts/main.go | 6 + .../ListPurchasableOffers/main.go | 6 + .../ListPurchasableSkus/main.go | 6 + .../ListSkuGroupBillableSkus/main.go | 6 + .../CloudChannelClient/ListSkuGroups/main.go | 6 + .../apiv1/CloudChannelClient/ListSkus/main.go | 6 + .../ListSubscribers/main.go | 6 + .../ListTransferableOffers/main.go | 6 + .../ListTransferableSkus/main.go | 6 + .../FetchReportResults/main.go | 6 + .../ListOperations/main.go | 6 + .../ListReports/main.go | 6 + ...ppet_metadata.google.cloud.channel.v1.json | 40 +- .../apiv1/v2/Client/ListBuildTriggers/main.go | 6 + .../apiv1/v2/Client/ListBuilds/main.go | 6 + .../apiv1/v2/Client/ListWorkerPools/main.go | 6 + ...etadata.google.devtools.cloudbuild.v1.json | 6 +- .../FetchLinkableRepositories/main.go | 6 + .../ListConnections/main.go | 6 + .../ListRepositories/main.go | 6 + ...etadata.google.devtools.cloudbuild.v2.json | 6 +- .../ListAccessApprovalRequests/main.go | 6 + .../ListCustomers/main.go | 6 + .../ListWorkloads/main.go | 6 + .../ListViolations/main.go | 6 + ....google.cloud.cloudcontrolspartner.v1.json | 8 +- .../ListAccessApprovalRequests/main.go | 6 + .../ListCustomers/main.go | 6 + .../ListWorkloads/main.go | 6 + .../ListViolations/main.go | 6 + ...gle.cloud.cloudcontrolspartner.v1beta.json | 8 +- .../DescribeDatabaseEntities/main.go | 6 + .../FetchStaticIps/main.go | 6 + .../ListConnectionProfiles/main.go | 6 + .../ListConversionWorkspaces/main.go | 6 + .../DataMigrationClient/ListLocations/main.go | 6 + .../ListMappingRules/main.go | 6 + .../ListMigrationJobs/main.go | 6 + .../ListOperations/main.go | 6 + .../ListPrivateConnections/main.go | 6 + ...pet_metadata.google.cloud.clouddms.v1.json | 18 +- .../apiv2/ExportClient/ListProfiles/main.go | 6 + ...data.google.devtools.cloudprofiler.v2.json | 2 +- .../apiv1/Client/ListQuotaInfos/main.go | 6 + .../apiv1/Client/ListQuotaPreferences/main.go | 6 + ...et_metadata.google.api.cloudquotas.v1.json | 6 +- .../apiv2/Client/ListLocations/main.go | 6 + .../apiv2/Client/ListQueues/main.go | 6 + .../cloudtasks/apiv2/Client/ListTasks/main.go | 6 + ...nippet_metadata.google.cloud.tasks.v2.json | 6 +- .../apiv2beta2/Client/ListLocations/main.go | 6 + .../apiv2beta2/Client/ListQueues/main.go | 6 + .../apiv2beta2/Client/ListTasks/main.go | 6 + ...t_metadata.google.cloud.tasks.v2beta2.json | 6 +- .../apiv2beta3/Client/ListLocations/main.go | 6 + .../apiv2beta3/Client/ListQueues/main.go | 6 + .../apiv2beta3/Client/ListTasks/main.go | 6 + ...t_metadata.google.cloud.tasks.v2beta3.json | 6 +- .../ListOrders/main.go | 6 + ...loud.commerce.consumer.procurement.v1.json | 2 +- .../AggregatedList/main.go | 6 + .../apiv1/AcceleratorTypesClient/List/main.go | 6 + .../AddressesClient/AggregatedList/main.go | 6 + .../apiv1/AddressesClient/List/main.go | 6 + .../AutoscalersClient/AggregatedList/main.go | 6 + .../apiv1/AutoscalersClient/List/main.go | 6 + .../apiv1/BackendBucketsClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/BackendServicesClient/List/main.go | 6 + .../BackendServicesClient/ListUsable/main.go | 6 + .../DiskTypesClient/AggregatedList/main.go | 6 + .../apiv1/DiskTypesClient/List/main.go | 6 + .../apiv1/DisksClient/AggregatedList/main.go | 6 + .../compute/apiv1/DisksClient/List/main.go | 6 + .../ExternalVpnGatewaysClient/List/main.go | 6 + .../apiv1/FirewallPoliciesClient/List/main.go | 6 + .../apiv1/FirewallsClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/ForwardingRulesClient/List/main.go | 6 + .../apiv1/GlobalAddressesClient/List/main.go | 6 + .../GlobalForwardingRulesClient/List/main.go | 6 + .../List/main.go | 6 + .../ListNetworkEndpoints/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/GlobalOperationsClient/List/main.go | 6 + .../List/main.go | 6 + .../List/main.go | 6 + .../HealthChecksClient/AggregatedList/main.go | 6 + .../apiv1/HealthChecksClient/List/main.go | 6 + .../compute/apiv1/ImagesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../InstanceGroupManagersClient/List/main.go | 6 + .../ListErrors/main.go | 6 + .../ListManagedInstances/main.go | 6 + .../ListPerInstanceConfigs/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/InstanceGroupsClient/List/main.go | 6 + .../ListInstances/main.go | 6 + .../AggregatedList/main.go | 6 + .../InstanceTemplatesClient/List/main.go | 6 + .../InstancesClient/AggregatedList/main.go | 6 + .../apiv1/InstancesClient/List/main.go | 6 + .../InstancesClient/ListReferrers/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/InstantSnapshotsClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../List/main.go | 6 + .../InterconnectLocationsClient/List/main.go | 6 + .../List/main.go | 6 + .../apiv1/InterconnectsClient/List/main.go | 6 + .../compute/apiv1/LicensesClient/List/main.go | 6 + .../apiv1/MachineImagesClient/List/main.go | 6 + .../MachineTypesClient/AggregatedList/main.go | 6 + .../apiv1/MachineTypesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../NetworkAttachmentsClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../AggregatedList/main.go | 6 + .../NetworkEndpointGroupsClient/List/main.go | 6 + .../ListNetworkEndpoints/main.go | 6 + .../List/main.go | 6 + .../compute/apiv1/NetworksClient/List/main.go | 6 + .../NetworksClient/ListPeeringRoutes/main.go | 6 + .../NodeGroupsClient/AggregatedList/main.go | 6 + .../apiv1/NodeGroupsClient/List/main.go | 6 + .../apiv1/NodeGroupsClient/ListNodes/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/NodeTemplatesClient/List/main.go | 6 + .../NodeTypesClient/AggregatedList/main.go | 6 + .../apiv1/NodeTypesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/PacketMirroringsClient/List/main.go | 6 + .../ProjectsClient/GetXpnResources/main.go | 6 + .../apiv1/ProjectsClient/ListXpnHosts/main.go | 6 + .../List/main.go | 6 + .../AggregatedList/main.go | 6 + .../List/main.go | 6 + .../RegionAutoscalersClient/List/main.go | 6 + .../RegionBackendServicesClient/List/main.go | 6 + .../ListUsable/main.go | 6 + .../AggregatedList/main.go | 6 + .../RegionCommitmentsClient/List/main.go | 6 + .../apiv1/RegionDiskTypesClient/List/main.go | 6 + .../apiv1/RegionDisksClient/List/main.go | 6 + .../List/main.go | 6 + .../RegionHealthChecksClient/List/main.go | 6 + .../List/main.go | 6 + .../ListErrors/main.go | 6 + .../ListManagedInstances/main.go | 6 + .../ListPerInstanceConfigs/main.go | 6 + .../RegionInstanceGroupsClient/List/main.go | 6 + .../ListInstances/main.go | 6 + .../List/main.go | 6 + .../RegionInstantSnapshotsClient/List/main.go | 6 + .../List/main.go | 6 + .../ListNetworkEndpoints/main.go | 6 + .../List/main.go | 6 + .../List/main.go | 6 + .../apiv1/RegionOperationsClient/List/main.go | 6 + .../RegionSecurityPoliciesClient/List/main.go | 6 + .../RegionSslCertificatesClient/List/main.go | 6 + .../RegionSslPoliciesClient/List/main.go | 6 + .../List/main.go | 6 + .../List/main.go | 6 + .../RegionTargetTcpProxiesClient/List/main.go | 6 + .../apiv1/RegionUrlMapsClient/List/main.go | 6 + .../apiv1/RegionZonesClient/List/main.go | 6 + .../compute/apiv1/RegionsClient/List/main.go | 6 + .../ReservationsClient/AggregatedList/main.go | 6 + .../apiv1/ReservationsClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/ResourcePoliciesClient/List/main.go | 6 + .../RoutersClient/AggregatedList/main.go | 6 + .../RoutersClient/GetNatMappingInfo/main.go | 6 + .../compute/apiv1/RoutersClient/List/main.go | 6 + .../compute/apiv1/RoutesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/SecurityPoliciesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../ServiceAttachmentsClient/List/main.go | 6 + .../apiv1/SnapshotsClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/SslCertificatesClient/List/main.go | 6 + .../SslPoliciesClient/AggregatedList/main.go | 6 + .../apiv1/SslPoliciesClient/List/main.go | 6 + .../SubnetworksClient/AggregatedList/main.go | 6 + .../apiv1/SubnetworksClient/List/main.go | 6 + .../SubnetworksClient/ListUsable/main.go | 6 + .../TargetGrpcProxiesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../TargetHttpProxiesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../TargetHttpsProxiesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/TargetInstancesClient/List/main.go | 6 + .../TargetPoolsClient/AggregatedList/main.go | 6 + .../apiv1/TargetPoolsClient/List/main.go | 6 + .../apiv1/TargetSslProxiesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../apiv1/TargetTcpProxiesClient/List/main.go | 6 + .../AggregatedList/main.go | 6 + .../TargetVpnGatewaysClient/List/main.go | 6 + .../UrlMapsClient/AggregatedList/main.go | 6 + .../compute/apiv1/UrlMapsClient/List/main.go | 6 + .../VpnGatewaysClient/AggregatedList/main.go | 6 + .../apiv1/VpnGatewaysClient/List/main.go | 6 + .../VpnTunnelsClient/AggregatedList/main.go | 6 + .../apiv1/VpnTunnelsClient/List/main.go | 6 + .../apiv1/ZoneOperationsClient/List/main.go | 6 + .../compute/apiv1/ZonesClient/List/main.go | 6 + ...ppet_metadata.google.cloud.compute.v1.json | 300 ++++----- .../apiv1/Client/ListLocations/main.go | 6 + ...google.cloud.confidentialcomputing.v1.json | 4 +- .../apiv1alpha1/Client/ListLocations/main.go | 6 + ....cloud.confidentialcomputing.v1alpha1.json | 4 +- .../apiv1/Client/ListDeployments/main.go | 6 + .../config/apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../config/apiv1/Client/ListPreviews/main.go | 6 + .../config/apiv1/Client/ListResources/main.go | 6 + .../config/apiv1/Client/ListRevisions/main.go | 6 + .../Client/ListTerraformVersions/main.go | 6 + ...ippet_metadata.google.cloud.config.v1.json | 14 +- .../apiv1/Client/ListAnalyses/main.go | 6 + .../apiv1/Client/ListConversations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListPhraseMatchers/main.go | 6 + .../apiv1/Client/ListViews/main.go | 6 + ...google.cloud.contactcenterinsights.v1.json | 10 +- .../ListUsableSubnetworks/main.go | 6 + .../snippet_metadata.google.container.v1.json | 4 +- .../ListNoteOccurrences/main.go | 6 + .../GrafeasV1Beta1Client/ListNotes/main.go | 6 + .../ListOccurrences/main.go | 6 + ...le.devtools.containeranalysis.v1beta1.json | 6 +- .../apiv1/Client/ListEntries/main.go | 6 + .../apiv1/Client/ListEntryGroups/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../datacatalog/apiv1/Client/ListTags/main.go | 6 + .../apiv1/Client/SearchCatalog/main.go | 6 + .../ListOperations/main.go | 6 + .../ListPolicyTags/main.go | 6 + .../ListTaxonomies/main.go | 6 + .../ListOperations/main.go | 6 + ..._metadata.google.cloud.datacatalog.v1.json | 18 +- .../apiv1beta1/Client/ListEntries/main.go | 6 + .../apiv1beta1/Client/ListEntryGroups/main.go | 6 + .../apiv1beta1/Client/ListTags/main.go | 6 + .../apiv1beta1/Client/SearchCatalog/main.go | 6 + .../ListPolicyTags/main.go | 6 + .../ListTaxonomies/main.go | 6 + ...data.google.cloud.datacatalog.v1beta1.json | 12 +- .../Client/BatchSearchLinkProcesses/main.go | 6 + .../apiv1/Client/ListLineageEvents/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListProcesses/main.go | 6 + .../lineage/apiv1/Client/ListRuns/main.go | 6 + .../lineage/apiv1/Client/SearchLinks/main.go | 6 + ...a.google.cloud.datacatalog.lineage.v1.json | 12 +- .../AggregatedListJobs/main.go | 6 + .../JobsV1Beta3Client/ListJobs/main.go | 6 + .../ListJobMessages/main.go | 6 + .../GetJobExecutionDetails/main.go | 6 + .../GetStageExecutionDetails/main.go | 6 + ...ppet_metadata.google.dataflow.v1beta3.json | 10 +- .../Client/ListCompilationResults/main.go | 6 + .../apiv1alpha2/Client/ListLocations/main.go | 6 + .../Client/ListRepositories/main.go | 6 + .../Client/ListWorkflowInvocations/main.go | 6 + .../apiv1alpha2/Client/ListWorkspaces/main.go | 6 + .../QueryCompilationResultActions/main.go | 6 + .../Client/QueryDirectoryContents/main.go | 6 + .../QueryWorkflowInvocationActions/main.go | 6 + ...tadata.google.cloud.dataform.v1alpha2.json | 16 +- .../Client/FetchRepositoryHistory/main.go | 6 + .../Client/ListCompilationResults/main.go | 6 + .../apiv1beta1/Client/ListLocations/main.go | 6 + .../Client/ListReleaseConfigs/main.go | 6 + .../Client/ListRepositories/main.go | 6 + .../Client/ListWorkflowConfigs/main.go | 6 + .../Client/ListWorkflowInvocations/main.go | 6 + .../apiv1beta1/Client/ListWorkspaces/main.go | 6 + .../QueryCompilationResultActions/main.go | 6 + .../Client/QueryDirectoryContents/main.go | 6 + .../QueryRepositoryDirectoryContents/main.go | 6 + .../QueryWorkflowInvocationActions/main.go | 6 + ...etadata.google.cloud.dataform.v1beta1.json | 24 +- .../Client/ListAvailableVersions/main.go | 6 + .../apiv1/Client/ListInstances/main.go | 6 + ...t_metadata.google.cloud.datafusion.v1.json | 4 +- .../Client/ListAnnotatedDatasets/main.go | 6 + .../Client/ListAnnotationSpecSets/main.go | 6 + .../apiv1beta1/Client/ListDataItems/main.go | 6 + .../apiv1beta1/Client/ListDatasets/main.go | 6 + .../Client/ListEvaluationJobs/main.go | 6 + .../apiv1beta1/Client/ListExamples/main.go | 6 + .../Client/ListInstructions/main.go | 6 + .../Client/SearchEvaluations/main.go | 6 + .../Client/SearchExampleComparisons/main.go | 6 + ...ata.google.cloud.datalabeling.v1beta1.json | 18 +- .../CatalogClient/ListAspectTypes/main.go | 6 + .../apiv1/CatalogClient/ListEntries/main.go | 6 + .../CatalogClient/ListEntryGroups/main.go | 6 + .../CatalogClient/ListEntryTypes/main.go | 6 + .../apiv1/CatalogClient/ListLocations/main.go | 6 + .../CatalogClient/ListOperations/main.go | 6 + .../apiv1/CatalogClient/SearchEntries/main.go | 6 + .../apiv1/Client/ListAssetActions/main.go | 6 + .../dataplex/apiv1/Client/ListAssets/main.go | 6 + .../apiv1/Client/ListEnvironments/main.go | 6 + .../dataplex/apiv1/Client/ListJobs/main.go | 6 + .../apiv1/Client/ListLakeActions/main.go | 6 + .../dataplex/apiv1/Client/ListLakes/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListSessions/main.go | 6 + .../dataplex/apiv1/Client/ListTasks/main.go | 6 + .../apiv1/Client/ListZoneActions/main.go | 6 + .../dataplex/apiv1/Client/ListZones/main.go | 6 + .../apiv1/ContentClient/ListContent/main.go | 6 + .../apiv1/ContentClient/ListLocations/main.go | 6 + .../ContentClient/ListOperations/main.go | 6 + .../DataScanClient/ListDataScanJobs/main.go | 6 + .../DataScanClient/ListDataScans/main.go | 6 + .../DataScanClient/ListLocations/main.go | 6 + .../DataScanClient/ListOperations/main.go | 6 + .../ListDataAttributeBindings/main.go | 6 + .../ListDataAttributes/main.go | 6 + .../ListDataTaxonomies/main.go | 6 + .../DataTaxonomyClient/ListLocations/main.go | 6 + .../DataTaxonomyClient/ListOperations/main.go | 6 + .../apiv1/MetadataClient/ListEntities/main.go | 6 + .../MetadataClient/ListLocations/main.go | 6 + .../MetadataClient/ListOperations/main.go | 6 + .../MetadataClient/ListPartitions/main.go | 6 + ...pet_metadata.google.cloud.dataplex.v1.json | 70 +- .../ListAutoscalingPolicies/main.go | 6 + .../ListOperations/main.go | 6 + .../BatchControllerClient/ListBatches/main.go | 6 + .../ListOperations/main.go | 6 + .../ListClusters/main.go | 6 + .../ListOperations/main.go | 6 + .../JobControllerClient/ListJobs/main.go | 6 + .../ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSessions/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSessionTemplates/main.go | 6 + .../ListOperations/main.go | 6 + .../ListWorkflowTemplates/main.go | 6 + ...pet_metadata.google.cloud.dataproc.v1.json | 30 +- .../DatastoreAdminClient/ListIndexes/main.go | 6 + .../ListOperations/main.go | 6 + ...et_metadata.google.datastore.admin.v1.json | 4 +- .../apiv1/Client/FetchStaticIps/main.go | 6 + .../Client/ListConnectionProfiles/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../Client/ListPrivateConnections/main.go | 6 + .../apiv1/Client/ListRoutes/main.go | 6 + .../apiv1/Client/ListStreamObjects/main.go | 6 + .../apiv1/Client/ListStreams/main.go | 6 + ...t_metadata.google.cloud.datastream.v1.json | 16 +- .../apiv1alpha1/Client/FetchStaticIps/main.go | 6 + .../Client/ListConnectionProfiles/main.go | 6 + .../Client/ListPrivateConnections/main.go | 6 + .../apiv1alpha1/Client/ListRoutes/main.go | 6 + .../apiv1alpha1/Client/ListStreams/main.go | 6 + ...data.google.cloud.datastream.v1alpha1.json | 10 +- .../ListAutomationRuns/main.go | 6 + .../CloudDeployClient/ListAutomations/main.go | 6 + .../ListCustomTargetTypes/main.go | 6 + .../ListDeliveryPipelines/main.go | 6 + .../CloudDeployClient/ListJobRuns/main.go | 6 + .../CloudDeployClient/ListLocations/main.go | 6 + .../CloudDeployClient/ListOperations/main.go | 6 + .../CloudDeployClient/ListReleases/main.go | 6 + .../CloudDeployClient/ListRollouts/main.go | 6 + .../CloudDeployClient/ListTargets/main.go | 6 + ...ippet_metadata.google.cloud.deploy.v1.json | 20 +- .../apiv2/AgentsClient/ListLocations/main.go | 6 + .../apiv2/AgentsClient/ListOperations/main.go | 6 + .../apiv2/AgentsClient/SearchAgents/main.go | 6 + .../ListAnswerRecords/main.go | 6 + .../AnswerRecordsClient/ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../apiv2/ContextsClient/ListContexts/main.go | 6 + .../ContextsClient/ListLocations/main.go | 6 + .../ContextsClient/ListOperations/main.go | 6 + .../ListConversationDatasets/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListConversationModelEvaluations/main.go | 6 + .../ListConversationModels/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListConversationProfiles/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListConversations/main.go | 6 + .../ConversationsClient/ListLocations/main.go | 6 + .../ConversationsClient/ListMessages/main.go | 6 + .../ListOperations/main.go | 6 + .../DocumentsClient/ListDocuments/main.go | 6 + .../DocumentsClient/ListLocations/main.go | 6 + .../DocumentsClient/ListOperations/main.go | 6 + .../EntityTypesClient/ListEntityTypes/main.go | 6 + .../EntityTypesClient/ListLocations/main.go | 6 + .../EntityTypesClient/ListOperations/main.go | 6 + .../GetEnvironmentHistory/main.go | 6 + .../ListEnvironments/main.go | 6 + .../EnvironmentsClient/ListLocations/main.go | 6 + .../EnvironmentsClient/ListOperations/main.go | 6 + .../FulfillmentsClient/ListLocations/main.go | 6 + .../FulfillmentsClient/ListOperations/main.go | 6 + .../apiv2/IntentsClient/ListIntents/main.go | 6 + .../apiv2/IntentsClient/ListLocations/main.go | 6 + .../IntentsClient/ListOperations/main.go | 6 + .../ListKnowledgeBases/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ParticipantsClient/ListLocations/main.go | 6 + .../ParticipantsClient/ListOperations/main.go | 6 + .../ListParticipants/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSessionEntityTypes/main.go | 6 + .../SessionsClient/ListLocations/main.go | 6 + .../SessionsClient/ListOperations/main.go | 6 + .../VersionsClient/ListLocations/main.go | 6 + .../VersionsClient/ListOperations/main.go | 6 + .../apiv2/VersionsClient/ListVersions/main.go | 6 + ...t_metadata.google.cloud.dialogflow.v2.json | 106 +-- .../AgentsClient/ListLocations/main.go | 6 + .../AgentsClient/ListOperations/main.go | 6 + .../AgentsClient/SearchAgents/main.go | 6 + .../ListAnswerRecords/main.go | 6 + .../AnswerRecordsClient/ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ContextsClient/ListContexts/main.go | 6 + .../ContextsClient/ListLocations/main.go | 6 + .../ContextsClient/ListOperations/main.go | 6 + .../ListConversationProfiles/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListConversations/main.go | 6 + .../ConversationsClient/ListLocations/main.go | 6 + .../ConversationsClient/ListMessages/main.go | 6 + .../ListOperations/main.go | 6 + .../DocumentsClient/ListDocuments/main.go | 6 + .../DocumentsClient/ListLocations/main.go | 6 + .../DocumentsClient/ListOperations/main.go | 6 + .../EntityTypesClient/ListEntityTypes/main.go | 6 + .../EntityTypesClient/ListLocations/main.go | 6 + .../EntityTypesClient/ListOperations/main.go | 6 + .../GetEnvironmentHistory/main.go | 6 + .../ListEnvironments/main.go | 6 + .../EnvironmentsClient/ListLocations/main.go | 6 + .../EnvironmentsClient/ListOperations/main.go | 6 + .../FulfillmentsClient/ListLocations/main.go | 6 + .../FulfillmentsClient/ListOperations/main.go | 6 + .../IntentsClient/ListIntents/main.go | 6 + .../IntentsClient/ListLocations/main.go | 6 + .../IntentsClient/ListOperations/main.go | 6 + .../ListKnowledgeBases/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ParticipantsClient/ListLocations/main.go | 6 + .../ParticipantsClient/ListOperations/main.go | 6 + .../ListParticipants/main.go | 6 + .../ListSuggestions/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSessionEntityTypes/main.go | 6 + .../SessionsClient/ListLocations/main.go | 6 + .../SessionsClient/ListOperations/main.go | 6 + .../VersionsClient/ListLocations/main.go | 6 + .../VersionsClient/ListOperations/main.go | 6 + .../VersionsClient/ListVersions/main.go | 6 + ...adata.google.cloud.dialogflow.v2beta1.json | 94 +-- .../cx/apiv3/AgentsClient/ListAgents/main.go | 6 + .../apiv3/AgentsClient/ListLocations/main.go | 6 + .../apiv3/AgentsClient/ListOperations/main.go | 6 + .../ChangelogsClient/ListChangelogs/main.go | 6 + .../ChangelogsClient/ListLocations/main.go | 6 + .../ChangelogsClient/ListOperations/main.go | 6 + .../DeploymentsClient/ListDeployments/main.go | 6 + .../DeploymentsClient/ListLocations/main.go | 6 + .../DeploymentsClient/ListOperations/main.go | 6 + .../EntityTypesClient/ListEntityTypes/main.go | 6 + .../EntityTypesClient/ListLocations/main.go | 6 + .../EntityTypesClient/ListOperations/main.go | 6 + .../ListContinuousTestResults/main.go | 6 + .../ListEnvironments/main.go | 6 + .../EnvironmentsClient/ListLocations/main.go | 6 + .../EnvironmentsClient/ListOperations/main.go | 6 + .../LookupEnvironmentHistory/main.go | 6 + .../ExperimentsClient/ListExperiments/main.go | 6 + .../ExperimentsClient/ListLocations/main.go | 6 + .../ExperimentsClient/ListOperations/main.go | 6 + .../cx/apiv3/FlowsClient/ListFlows/main.go | 6 + .../apiv3/FlowsClient/ListLocations/main.go | 6 + .../apiv3/FlowsClient/ListOperations/main.go | 6 + .../GeneratorsClient/ListGenerators/main.go | 6 + .../GeneratorsClient/ListLocations/main.go | 6 + .../GeneratorsClient/ListOperations/main.go | 6 + .../apiv3/IntentsClient/ListIntents/main.go | 6 + .../apiv3/IntentsClient/ListLocations/main.go | 6 + .../IntentsClient/ListOperations/main.go | 6 + .../apiv3/PagesClient/ListLocations/main.go | 6 + .../apiv3/PagesClient/ListOperations/main.go | 6 + .../cx/apiv3/PagesClient/ListPages/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSecuritySettings/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSessionEntityTypes/main.go | 6 + .../SessionsClient/ListLocations/main.go | 6 + .../SessionsClient/ListOperations/main.go | 6 + .../TestCasesClient/ListLocations/main.go | 6 + .../TestCasesClient/ListOperations/main.go | 6 + .../ListTestCaseResults/main.go | 6 + .../TestCasesClient/ListTestCases/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListTransitionRouteGroups/main.go | 6 + .../VersionsClient/ListLocations/main.go | 6 + .../VersionsClient/ListOperations/main.go | 6 + .../apiv3/VersionsClient/ListVersions/main.go | 6 + .../WebhooksClient/ListLocations/main.go | 6 + .../WebhooksClient/ListOperations/main.go | 6 + .../apiv3/WebhooksClient/ListWebhooks/main.go | 6 + ...etadata.google.cloud.dialogflow.cx.v3.json | 108 +-- .../AgentsClient/ListAgents/main.go | 6 + .../AgentsClient/ListLocations/main.go | 6 + .../AgentsClient/ListOperations/main.go | 6 + .../ChangelogsClient/ListChangelogs/main.go | 6 + .../ChangelogsClient/ListLocations/main.go | 6 + .../ChangelogsClient/ListOperations/main.go | 6 + .../DeploymentsClient/ListDeployments/main.go | 6 + .../DeploymentsClient/ListLocations/main.go | 6 + .../DeploymentsClient/ListOperations/main.go | 6 + .../EntityTypesClient/ListEntityTypes/main.go | 6 + .../EntityTypesClient/ListLocations/main.go | 6 + .../EntityTypesClient/ListOperations/main.go | 6 + .../ListContinuousTestResults/main.go | 6 + .../ListEnvironments/main.go | 6 + .../EnvironmentsClient/ListLocations/main.go | 6 + .../EnvironmentsClient/ListOperations/main.go | 6 + .../LookupEnvironmentHistory/main.go | 6 + .../ExamplesClient/ListExamples/main.go | 6 + .../ExamplesClient/ListLocations/main.go | 6 + .../ExamplesClient/ListOperations/main.go | 6 + .../ExperimentsClient/ListExperiments/main.go | 6 + .../ExperimentsClient/ListLocations/main.go | 6 + .../ExperimentsClient/ListOperations/main.go | 6 + .../apiv3beta1/FlowsClient/ListFlows/main.go | 6 + .../FlowsClient/ListLocations/main.go | 6 + .../FlowsClient/ListOperations/main.go | 6 + .../GeneratorsClient/ListGenerators/main.go | 6 + .../GeneratorsClient/ListLocations/main.go | 6 + .../GeneratorsClient/ListOperations/main.go | 6 + .../IntentsClient/ListIntents/main.go | 6 + .../IntentsClient/ListLocations/main.go | 6 + .../IntentsClient/ListOperations/main.go | 6 + .../PagesClient/ListLocations/main.go | 6 + .../PagesClient/ListOperations/main.go | 6 + .../apiv3beta1/PagesClient/ListPages/main.go | 6 + .../PlaybooksClient/ListLocations/main.go | 6 + .../PlaybooksClient/ListOperations/main.go | 6 + .../ListPlaybookVersions/main.go | 6 + .../PlaybooksClient/ListPlaybooks/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSecuritySettings/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSessionEntityTypes/main.go | 6 + .../SessionsClient/ListLocations/main.go | 6 + .../SessionsClient/ListOperations/main.go | 6 + .../TestCasesClient/ListLocations/main.go | 6 + .../TestCasesClient/ListOperations/main.go | 6 + .../ListTestCaseResults/main.go | 6 + .../TestCasesClient/ListTestCases/main.go | 6 + .../ToolsClient/ListLocations/main.go | 6 + .../ToolsClient/ListOperations/main.go | 6 + .../apiv3beta1/ToolsClient/ListTools/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListTransitionRouteGroups/main.go | 6 + .../VersionsClient/ListLocations/main.go | 6 + .../VersionsClient/ListOperations/main.go | 6 + .../VersionsClient/ListVersions/main.go | 6 + .../WebhooksClient/ListLocations/main.go | 6 + .../WebhooksClient/ListOperations/main.go | 6 + .../WebhooksClient/ListWebhooks/main.go | 6 + ...ta.google.cloud.dialogflow.cx.v3beta1.json | 128 ++-- .../CompletionClient/ListOperations/main.go | 6 + .../ListConversations/main.go | 6 + .../ListOperations/main.go | 6 + .../DataStoreClient/ListDataStores/main.go | 6 + .../DataStoreClient/ListOperations/main.go | 6 + .../DocumentClient/ListDocuments/main.go | 6 + .../DocumentClient/ListOperations/main.go | 6 + .../apiv1/EngineClient/ListEngines/main.go | 6 + .../apiv1/EngineClient/ListOperations/main.go | 6 + .../apiv1/SchemaClient/ListOperations/main.go | 6 + .../apiv1/SchemaClient/ListSchemas/main.go | 6 + .../apiv1/SearchClient/ListOperations/main.go | 6 + .../apiv1/SearchClient/Search/main.go | 6 + .../FetchDomainVerificationStatus/main.go | 6 + .../ListOperations/main.go | 6 + .../ListTargetSites/main.go | 6 + .../UserEventClient/ListOperations/main.go | 6 + ...adata.google.cloud.discoveryengine.v1.json | 34 +- .../AclConfigClient/ListOperations/main.go | 6 + .../apiv1alpha/ChunkClient/ListChunks/main.go | 6 + .../ChunkClient/ListOperations/main.go | 6 + .../CompletionClient/ListOperations/main.go | 6 + .../ListConversations/main.go | 6 + .../ListOperations/main.go | 6 + .../DataStoreClient/ListDataStores/main.go | 6 + .../DataStoreClient/ListOperations/main.go | 6 + .../DocumentClient/ListDocuments/main.go | 6 + .../DocumentClient/ListOperations/main.go | 6 + .../EngineClient/ListEngines/main.go | 6 + .../EngineClient/ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../SchemaClient/ListOperations/main.go | 6 + .../SchemaClient/ListSchemas/main.go | 6 + .../SearchClient/ListOperations/main.go | 6 + .../apiv1alpha/SearchClient/Search/main.go | 6 + .../SearchTuningClient/ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServingConfigs/main.go | 6 + .../FetchDomainVerificationStatus/main.go | 6 + .../ListOperations/main.go | 6 + .../ListTargetSites/main.go | 6 + .../UserEventClient/ListOperations/main.go | 6 + ....google.cloud.discoveryengine.v1alpha.json | 50 +- .../CompletionClient/ListOperations/main.go | 6 + .../ListConversations/main.go | 6 + .../ListOperations/main.go | 6 + .../DataStoreClient/ListDataStores/main.go | 6 + .../DataStoreClient/ListOperations/main.go | 6 + .../DocumentClient/ListDocuments/main.go | 6 + .../DocumentClient/ListOperations/main.go | 6 + .../EngineClient/ListEngines/main.go | 6 + .../EngineClient/ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../SchemaClient/ListOperations/main.go | 6 + .../SchemaClient/ListSchemas/main.go | 6 + .../SearchClient/ListOperations/main.go | 6 + .../apiv1beta/SearchClient/Search/main.go | 6 + .../SearchTuningClient/ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServingConfigs/main.go | 6 + .../FetchDomainVerificationStatus/main.go | 6 + .../ListOperations/main.go | 6 + .../ListTargetSites/main.go | 6 + .../UserEventClient/ListOperations/main.go | 6 + ...a.google.cloud.discoveryengine.v1beta.json | 42 +- .../Client/ListColumnDataProfiles/main.go | 6 + .../Client/ListDeidentifyTemplates/main.go | 6 + .../apiv2/Client/ListDiscoveryConfigs/main.go | 6 + .../dlp/apiv2/Client/ListDlpJobs/main.go | 6 + .../apiv2/Client/ListInspectTemplates/main.go | 6 + .../dlp/apiv2/Client/ListJobTriggers/main.go | 6 + .../Client/ListProjectDataProfiles/main.go | 6 + .../apiv2/Client/ListStoredInfoTypes/main.go | 6 + .../Client/ListTableDataProfiles/main.go | 6 + ...nippet_metadata.google.privacy.dlp.v2.json | 18 +- .../ListEvaluations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListProcessorTypes/main.go | 6 + .../ListProcessorVersions/main.go | 6 + .../ListProcessors/main.go | 6 + ...t_metadata.google.cloud.documentai.v1.json | 12 +- .../DocumentClient/ListDocuments/main.go | 6 + .../DocumentClient/ListLocations/main.go | 6 + .../DocumentClient/ListOperations/main.go | 6 + .../ListEvaluations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListProcessorTypes/main.go | 6 + .../ListProcessorVersions/main.go | 6 + .../ListProcessors/main.go | 6 + ...adata.google.cloud.documentai.v1beta3.json | 18 +- .../Client/ListRegistrations/main.go | 6 + ...metadata.google.cloud.domains.v1beta1.json | 2 +- .../apiv1/Client/ListClusters/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListMachines/main.go | 6 + .../apiv1/Client/ListNodePools/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListVpnConnections/main.go | 6 + ...etadata.google.cloud.edgecontainer.v1.json | 12 +- .../ListInterconnectAttachments/main.go | 6 + .../apiv1/Client/ListInterconnects/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListNetworks/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListRouters/main.go | 6 + .../apiv1/Client/ListSubnets/main.go | 6 + .../apiv1/Client/ListZones/main.go | 6 + ..._metadata.google.cloud.edgenetwork.v1.json | 16 +- .../apiv1/Client/ComputeContacts/main.go | 6 + .../apiv1/Client/ListContacts/main.go | 6 + ...ata.google.cloud.essentialcontacts.v1.json | 4 +- .../Client/ListChannelConnections/main.go | 6 + .../apiv1/Client/ListChannels/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListProviders/main.go | 6 + .../apiv1/Client/ListTriggers/main.go | 6 + ...pet_metadata.google.cloud.eventarc.v1.json | 12 +- .../ListBackups/main.go | 6 + .../ListInstances/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListSnapshots/main.go | 6 + ...et_metadata.google.cloud.filestore.v1.json | 10 +- .../apiv1/Client/ListCollectionIds/main.go | 6 + .../apiv1/Client/ListDocuments/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/PartitionQuery/main.go | 6 + .../FirestoreAdminClient/ListFields/main.go | 6 + .../FirestoreAdminClient/ListIndexes/main.go | 6 + .../ListOperations/main.go | 6 + ...et_metadata.google.firestore.admin.v1.json | 6 +- .../snippet_metadata.google.firestore.v1.json | 8 +- .../ListFunctions/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...et_metadata.google.cloud.functions.v1.json | 6 +- .../FunctionClient/ListFunctions/main.go | 6 + .../FunctionClient/ListLocations/main.go | 6 + .../FunctionClient/ListOperations/main.go | 6 + ...et_metadata.google.cloud.functions.v2.json | 6 +- .../FunctionClient/ListFunctions/main.go | 6 + .../FunctionClient/ListLocations/main.go | 6 + .../FunctionClient/ListOperations/main.go | 6 + ...etadata.google.cloud.functions.v2beta.json | 6 +- .../ListBackupPlans/main.go | 6 + .../BackupForGKEClient/ListBackups/main.go | 6 + .../BackupForGKEClient/ListLocations/main.go | 6 + .../BackupForGKEClient/ListOperations/main.go | 6 + .../ListRestorePlans/main.go | 6 + .../BackupForGKEClient/ListRestores/main.go | 6 + .../ListVolumeBackups/main.go | 6 + .../ListVolumeRestores/main.go | 6 + ...et_metadata.google.cloud.gkebackup.v1.json | 18 +- .../ListLocations/main.go | 6 + .../ListMemberships/main.go | 6 + .../ListOperations/main.go | 6 + ..._metadata.google.cloud.gkehub.v1beta1.json | 6 +- .../ListAttachedClusters/main.go | 6 + .../ListOperations/main.go | 6 + .../AwsClustersClient/ListAwsClusters/main.go | 6 + .../ListAwsNodePools/main.go | 6 + .../AwsClustersClient/ListOperations/main.go | 6 + .../ListAzureClients/main.go | 6 + .../ListAzureClusters/main.go | 6 + .../ListAzureNodePools/main.go | 6 + .../ListOperations/main.go | 6 + ...etadata.google.cloud.gkemulticloud.v1.json | 18 +- .../apiv1/Client/ListDeployments/main.go | 6 + ...metadata.google.cloud.gsuiteaddons.v1.json | 2 +- .../apiv2/PoliciesClient/ListPolicies/main.go | 6 + .../apiv2/snippet_metadata.google.iam.v2.json | 2 +- .../ListTunnelDestGroups/main.go | 6 + .../ListIdentityAwareProxyClients/main.go | 6 + .../snippet_metadata.google.cloud.iap.v1.json | 4 +- .../ids/apiv1/Client/ListEndpoints/main.go | 6 + .../snippet_metadata.google.cloud.ids.v1.json | 2 +- .../ListDeviceRegistries/main.go | 6 + .../DeviceManagerClient/ListDevices/main.go | 6 + .../snippet_metadata.google.cloud.iot.v1.json | 4 +- .../EkmClient/ListEkmConnections/main.go | 6 + .../kms/apiv1/EkmClient/ListLocations/main.go | 6 + .../ListCryptoKeyVersions/main.go | 6 + .../ListCryptoKeys/main.go | 6 + .../ListImportJobs/main.go | 6 + .../KeyManagementClient/ListKeyRings/main.go | 6 + .../KeyManagementClient/ListLocations/main.go | 6 + .../snippet_metadata.google.cloud.kms.v1.json | 14 +- .../KeyDashboardClient/ListCryptoKeys/main.go | 6 + .../SearchProtectedResources/main.go | 6 + ...etadata.google.cloud.kms.inventory.v1.json | 4 +- .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...data.google.cloud.lifesciences.v2beta.json | 4 +- .../apiv2/Client/ListLogEntries/main.go | 6 + .../logging/apiv2/Client/ListLogs/main.go | 6 + .../ListMonitoredResourceDescriptors/main.go | 6 + .../apiv2/Client/ListOperations/main.go | 6 + .../apiv2/ConfigClient/ListBuckets/main.go | 6 + .../apiv2/ConfigClient/ListExclusions/main.go | 6 + .../apiv2/ConfigClient/ListLinks/main.go | 6 + .../apiv2/ConfigClient/ListOperations/main.go | 6 + .../apiv2/ConfigClient/ListSinks/main.go | 6 + .../apiv2/ConfigClient/ListViews/main.go | 6 + .../MetricsClient/ListLogMetrics/main.go | 6 + .../MetricsClient/ListOperations/main.go | 6 + .../snippet_metadata.google.logging.v2.json | 24 +- .../OperationsClient/ListOperations/main.go | 6 + .../snippet_metadata.google.longrunning.json | 2 +- .../apiv1/Client/ListDomains/main.go | 6 + ...ata.google.cloud.managedidentities.v1.json | 2 +- .../apiv1/TripClient/SearchTrips/main.go | 6 + .../apiv1/VehicleClient/ListVehicles/main.go | 6 + .../snippet_metadata.maps.fleetengine.v1.json | 4 +- .../apiv1/Client/ListDeliveryVehicles/main.go | 6 + .../delivery/apiv1/Client/ListTasks/main.go | 6 + .../delivery/apiv1/Client/SearchTasks/main.go | 6 + ...metadata.maps.fleetengine.delivery.v1.json | 6 +- .../ListDatasetVersions/main.go | 6 + .../ListDatasets/main.go | 6 + ...gle.maps.mapsplatformdatasets.v1alpha.json | 4 +- .../CloudMemcacheClient/ListInstances/main.go | 6 + .../CloudMemcacheClient/ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...pet_metadata.google.cloud.memcache.v1.json | 6 +- .../CloudMemcacheClient/ListInstances/main.go | 6 + .../CloudMemcacheClient/ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...etadata.google.cloud.memcache.v1beta2.json | 6 +- .../ListBackups/main.go | 6 + .../ListLocations/main.go | 6 + .../ListMetadataImports/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServices/main.go | 6 + .../ListFederations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...et_metadata.google.cloud.metastore.v1.json | 16 +- .../ListBackups/main.go | 6 + .../ListLocations/main.go | 6 + .../ListMetadataImports/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServices/main.go | 6 + .../ListFederations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...tadata.google.cloud.metastore.v1alpha.json | 16 +- .../ListBackups/main.go | 6 + .../ListLocations/main.go | 6 + .../ListMetadataImports/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServices/main.go | 6 + .../ListFederations/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...etadata.google.cloud.metastore.v1beta.json | 16 +- .../apiv1/Client/ListAssets/main.go | 6 + .../apiv1/Client/ListErrorFrames/main.go | 6 + .../apiv1/Client/ListGroups/main.go | 6 + .../apiv1/Client/ListImportDataFiles/main.go | 6 + .../apiv1/Client/ListImportJobs/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListPreferenceSets/main.go | 6 + .../apiv1/Client/ListReportConfigs/main.go | 6 + .../apiv1/Client/ListReports/main.go | 6 + .../apiv1/Client/ListSources/main.go | 6 + ...adata.google.cloud.migrationcenter.v1.json | 22 +- .../ListAlertPolicies/main.go | 6 + .../v2/GroupClient/ListGroupMembers/main.go | 6 + .../apiv3/v2/GroupClient/ListGroups/main.go | 6 + .../ListMetricDescriptors/main.go | 6 + .../ListMonitoredResourceDescriptors/main.go | 6 + .../v2/MetricClient/ListTimeSeries/main.go | 6 + .../main.go | 6 + .../ListNotificationChannels/main.go | 6 + .../v2/QueryClient/QueryTimeSeries/main.go | 6 + .../ListServiceLevelObjectives/main.go | 6 + .../ListServices/main.go | 6 + .../apiv3/v2/SnoozeClient/ListSnoozes/main.go | 6 + .../ListUptimeCheckConfigs/main.go | 6 + .../ListUptimeCheckIps/main.go | 6 + ...snippet_metadata.google.monitoring.v3.json | 28 +- .../DashboardsClient/ListDashboards/main.go | 6 + ...tadata.google.monitoring.dashboard.v1.json | 2 +- .../Client/ListActiveDirectories/main.go | 6 + .../apiv1/Client/ListBackupPolicies/main.go | 6 + .../apiv1/Client/ListBackupVaults/main.go | 6 + .../netapp/apiv1/Client/ListBackups/main.go | 6 + .../apiv1/Client/ListKmsConfigs/main.go | 6 + .../netapp/apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListReplications/main.go | 6 + .../netapp/apiv1/Client/ListSnapshots/main.go | 6 + .../apiv1/Client/ListStoragePools/main.go | 6 + .../netapp/apiv1/Client/ListVolumes/main.go | 6 + ...ippet_metadata.google.cloud.netapp.v1.json | 22 +- .../apiv1/HubClient/ListGroups/main.go | 6 + .../apiv1/HubClient/ListHubSpokes/main.go | 6 + .../apiv1/HubClient/ListHubs/main.go | 6 + .../apiv1/HubClient/ListLocations/main.go | 6 + .../apiv1/HubClient/ListOperations/main.go | 6 + .../apiv1/HubClient/ListRouteTables/main.go | 6 + .../apiv1/HubClient/ListRoutes/main.go | 6 + .../apiv1/HubClient/ListSpokes/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListPolicyBasedRoutes/main.go | 6 + ...a.google.cloud.networkconnectivity.v1.json | 22 +- .../apiv1alpha1/HubClient/ListHubs/main.go | 6 + .../apiv1alpha1/HubClient/ListSpokes/main.go | 6 + ...le.cloud.networkconnectivity.v1alpha1.json | 4 +- .../ListConnectivityTests/main.go | 6 + .../ReachabilityClient/ListLocations/main.go | 6 + .../ReachabilityClient/ListOperations/main.go | 6 + ...ata.google.cloud.networkmanagement.v1.json | 8 +- .../Client/ListAuthorizationPolicies/main.go | 6 + .../Client/ListClientTlsPolicies/main.go | 6 + .../apiv1beta1/Client/ListLocations/main.go | 6 + .../apiv1beta1/Client/ListOperations/main.go | 6 + .../Client/ListServerTlsPolicies/main.go | 6 + ....google.cloud.networksecurity.v1beta1.json | 10 +- .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + .../ListRuntimes/main.go | 6 + .../NotebookClient/ListEnvironments/main.go | 6 + .../NotebookClient/ListExecutions/main.go | 6 + .../NotebookClient/ListInstances/main.go | 6 + .../NotebookClient/ListLocations/main.go | 6 + .../NotebookClient/ListOperations/main.go | 6 + .../NotebookClient/ListSchedules/main.go | 6 + ...et_metadata.google.cloud.notebooks.v1.json | 18 +- .../NotebookClient/ListEnvironments/main.go | 6 + .../NotebookClient/ListInstances/main.go | 6 + .../NotebookClient/ListLocations/main.go | 6 + .../NotebookClient/ListOperations/main.go | 6 + ...tadata.google.cloud.notebooks.v1beta1.json | 8 +- .../NotebookClient/ListInstances/main.go | 6 + .../NotebookClient/ListLocations/main.go | 6 + .../NotebookClient/ListOperations/main.go | 6 + ...et_metadata.google.cloud.notebooks.v2.json | 6 +- .../ListEnvironments/main.go | 6 + .../EnvironmentsClient/ListOperations/main.go | 6 + .../ListUserWorkloadsConfigMaps/main.go | 6 + .../ListUserWorkloadsSecrets/main.go | 6 + .../EnvironmentsClient/ListWorkloads/main.go | 6 + .../ListImageVersions/main.go | 6 + .../ListOperations/main.go | 6 + ...loud.orchestration.airflow.service.v1.json | 14 +- .../apiv2/Client/ListConstraints/main.go | 6 + .../Client/ListCustomConstraints/main.go | 6 + .../apiv2/Client/ListPolicies/main.go | 6 + ...et_metadata.google.cloud.orgpolicy.v2.json | 6 +- .../apiv1/Client/ListPatchDeployments/main.go | 6 + .../ListPatchJobInstanceDetails/main.go | 6 + .../apiv1/Client/ListPatchJobs/main.go | 6 + .../ListInventories/main.go | 6 + .../ListOSPolicyAssignmentReports/main.go | 6 + .../ListOSPolicyAssignmentRevisions/main.go | 6 + .../ListOSPolicyAssignments/main.go | 6 + .../ListVulnerabilityReports/main.go | 6 + ...pet_metadata.google.cloud.osconfig.v1.json | 16 +- .../ListInstanceOSPoliciesCompliances/main.go | 6 + .../ListInventories/main.go | 6 + .../ListOSPolicyAssignmentReports/main.go | 6 + .../ListOSPolicyAssignmentRevisions/main.go | 6 + .../ListOSPolicyAssignments/main.go | 6 + .../ListVulnerabilityReports/main.go | 6 + ...etadata.google.cloud.osconfig.v1alpha.json | 12 +- .../Client/ListGuestPolicies/main.go | 6 + .../Client/ListPatchDeployments/main.go | 6 + .../ListPatchJobInstanceDetails/main.go | 6 + .../apiv1beta/Client/ListPatchJobs/main.go | 6 + ...metadata.google.cloud.osconfig.v1beta.json | 8 +- .../apiv1beta/Client/ListInstances/main.go | 6 + .../apiv1beta/Client/ListLocations/main.go | 6 + .../apiv1beta/Client/ListOperations/main.go | 6 + ...ata.google.cloud.parallelstore.v1beta.json | 6 +- .../SimulatorClient/ListOperations/main.go | 6 + .../SimulatorClient/ListReplayResults/main.go | 6 + ...adata.google.cloud.policysimulator.v1.json | 4 +- .../apiv1beta1/Client/SearchCatalogs/main.go | 6 + .../apiv1beta1/Client/SearchProducts/main.go | 6 + .../apiv1beta1/Client/SearchVersions/main.go | 6 + ...a.google.cloud.privatecatalog.v1beta1.json | 6 +- .../ListTopicSnapshots/main.go | 6 + .../ListTopicSubscriptions/main.go | 6 + .../apiv1/PublisherClient/ListTopics/main.go | 6 + .../SchemaClient/ListSchemaRevisions/main.go | 6 + .../apiv1/SchemaClient/ListSchemas/main.go | 6 + .../SubscriberClient/ListSnapshots/main.go | 6 + .../ListSubscriptions/main.go | 6 + .../snippet_metadata.google.pubsub.v1.json | 14 +- .../apiv1/AdminClient/ListOperations/main.go | 6 + .../AdminClient/ListReservationTopics/main.go | 6 + .../AdminClient/ListReservations/main.go | 6 + .../AdminClient/ListSubscriptions/main.go | 6 + .../ListTopicSubscriptions/main.go | 6 + .../apiv1/AdminClient/ListTopics/main.go | 6 + .../apiv1/CursorClient/ListOperations/main.go | 6 + .../CursorClient/ListPartitionCursors/main.go | 6 + .../ListOperations/main.go | 6 + .../PublisherClient/ListOperations/main.go | 6 + .../SubscriberClient/ListOperations/main.go | 6 + .../TopicStatsClient/ListOperations/main.go | 6 + ...t_metadata.google.cloud.pubsublite.v1.json | 24 +- .../apiv1/Client/ListCollectors/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...gle.cloud.rapidmigrationassessment.v1.json | 6 +- .../apiv1/Client/ListFirewallPolicies/main.go | 6 + .../v2/apiv1/Client/ListKeys/main.go | 6 + .../main.go | 6 + .../Client/ListRelatedAccountGroups/main.go | 6 + .../main.go | 6 + ...a.google.cloud.recaptchaenterprise.v1.json | 10 +- .../CatalogClient/ListCatalogItems/main.go | 6 + .../ListPredictionApiKeyRegistrations/main.go | 6 + .../PredictionClient/Predict/main.go | 6 + .../UserEventClient/ListUserEvents/main.go | 6 + ...le.cloud.recommendationengine.v1beta1.json | 8 +- .../apiv1/Client/ListInsights/main.go | 6 + .../apiv1/Client/ListRecommendations/main.go | 6 + ..._metadata.google.cloud.recommender.v1.json | 4 +- .../Client/ListInsightTypes/main.go | 6 + .../apiv1beta1/Client/ListInsights/main.go | 6 + .../Client/ListRecommendations/main.go | 6 + .../Client/ListRecommenders/main.go | 6 + ...data.google.cloud.recommender.v1beta1.json | 8 +- .../CloudRedisClient/ListInstances/main.go | 6 + .../CloudRedisClient/ListLocations/main.go | 6 + .../CloudRedisClient/ListOperations/main.go | 6 + ...nippet_metadata.google.cloud.redis.v1.json | 6 +- .../CloudRedisClient/ListInstances/main.go | 6 + ...t_metadata.google.cloud.redis.v1beta1.json | 2 +- .../ListClusters/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...etadata.google.cloud.redis.cluster.v1.json | 6 +- .../apiv2/FoldersClient/ListFolders/main.go | 6 + .../apiv2/FoldersClient/SearchFolders/main.go | 6 + ...adata.google.cloud.resourcemanager.v2.json | 4 +- .../apiv3/FoldersClient/ListFolders/main.go | 6 + .../apiv3/FoldersClient/SearchFolders/main.go | 6 + .../SearchOrganizations/main.go | 6 + .../apiv3/ProjectsClient/ListProjects/main.go | 6 + .../ProjectsClient/SearchProjects/main.go | 6 + .../ListEffectiveTags/main.go | 6 + .../TagBindingsClient/ListTagBindings/main.go | 6 + .../apiv3/TagHoldsClient/ListTagHolds/main.go | 6 + .../apiv3/TagKeysClient/ListTagKeys/main.go | 6 + .../TagValuesClient/ListTagValues/main.go | 6 + ...adata.google.cloud.resourcemanager.v3.json | 20 +- .../apiv1/Client/ListSettings/main.go | 6 + ...data.google.cloud.resourcesettings.v1.json | 2 +- .../AnalyticsClient/ListOperations/main.go | 6 + .../apiv2/CatalogClient/ListCatalogs/main.go | 6 + .../CatalogClient/ListOperations/main.go | 6 + .../CompletionClient/ListOperations/main.go | 6 + .../apiv2/ControlClient/ListControls/main.go | 6 + .../ControlClient/ListOperations/main.go | 6 + .../apiv2/ModelClient/ListModels/main.go | 6 + .../apiv2/ModelClient/ListOperations/main.go | 6 + .../PredictionClient/ListOperations/main.go | 6 + .../ProductClient/ListOperations/main.go | 6 + .../apiv2/ProductClient/ListProducts/main.go | 6 + .../apiv2/SearchClient/ListOperations/main.go | 6 + .../retail/apiv2/SearchClient/Search/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServingConfigs/main.go | 6 + .../UserEventClient/ListOperations/main.go | 6 + ...ippet_metadata.google.cloud.retail.v2.json | 32 +- .../AnalyticsClient/ListOperations/main.go | 6 + .../CatalogClient/ListCatalogs/main.go | 6 + .../CatalogClient/ListOperations/main.go | 6 + .../CompletionClient/ListOperations/main.go | 6 + .../ControlClient/ListControls/main.go | 6 + .../ControlClient/ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + .../apiv2alpha/ModelClient/ListModels/main.go | 6 + .../ModelClient/ListOperations/main.go | 6 + .../PredictionClient/ListOperations/main.go | 6 + .../ProductClient/ListOperations/main.go | 6 + .../ProductClient/ListProducts/main.go | 6 + .../SearchClient/ListOperations/main.go | 6 + .../apiv2alpha/SearchClient/Search/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServingConfigs/main.go | 6 + .../UserEventClient/ListOperations/main.go | 6 + ..._metadata.google.cloud.retail.v2alpha.json | 34 +- .../AnalyticsClient/ListOperations/main.go | 6 + .../CatalogClient/ListCatalogs/main.go | 6 + .../CatalogClient/ListOperations/main.go | 6 + .../CompletionClient/ListOperations/main.go | 6 + .../ControlClient/ListControls/main.go | 6 + .../ControlClient/ListOperations/main.go | 6 + .../apiv2beta/ModelClient/ListModels/main.go | 6 + .../ModelClient/ListOperations/main.go | 6 + .../PredictionClient/ListOperations/main.go | 6 + .../ProductClient/ListOperations/main.go | 6 + .../ProductClient/ListProducts/main.go | 6 + .../SearchClient/ListOperations/main.go | 6 + .../apiv2beta/SearchClient/Search/main.go | 6 + .../ListOperations/main.go | 6 + .../ListServingConfigs/main.go | 6 + .../UserEventClient/ListOperations/main.go | 6 + ...t_metadata.google.cloud.retail.v2beta.json | 32 +- .../ExecutionsClient/ListExecutions/main.go | 6 + .../ExecutionsClient/ListOperations/main.go | 6 + .../run/apiv2/JobsClient/ListJobs/main.go | 6 + .../apiv2/JobsClient/ListOperations/main.go | 6 + .../RevisionsClient/ListOperations/main.go | 6 + .../RevisionsClient/ListRevisions/main.go | 6 + .../ServicesClient/ListOperations/main.go | 6 + .../apiv2/ServicesClient/ListServices/main.go | 6 + .../apiv2/TasksClient/ListOperations/main.go | 6 + .../run/apiv2/TasksClient/ListTasks/main.go | 6 + .../snippet_metadata.google.cloud.run.v2.json | 20 +- .../CloudSchedulerClient/ListJobs/main.go | 6 + .../ListLocations/main.go | 6 + ...et_metadata.google.cloud.scheduler.v1.json | 4 +- .../CloudSchedulerClient/ListJobs/main.go | 6 + .../ListLocations/main.go | 6 + ...tadata.google.cloud.scheduler.v1beta1.json | 4 +- .../apiv1/Client/ListSecretVersions/main.go | 6 + .../apiv1/Client/ListSecrets/main.go | 6 + ...etadata.google.cloud.secretmanager.v1.json | 4 +- .../apiv1beta2/Client/ListLocations/main.go | 6 + .../Client/ListSecretVersions/main.go | 6 + .../apiv1beta2/Client/ListSecrets/main.go | 6 + ...ta.google.cloud.secretmanager.v1beta2.json | 6 +- .../apiv1/Client/ListInstances/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListRepositories/main.go | 6 + ...a.google.cloud.securesourcemanager.v1.json | 8 +- .../ListCaPools/main.go | 6 + .../ListCertificateAuthorities/main.go | 6 + .../ListCertificateRevocationLists/main.go | 6 + .../ListCertificateTemplates/main.go | 6 + .../ListCertificates/main.go | 6 + .../ListLocations/main.go | 6 + .../ListOperations/main.go | 6 + ...ta.google.cloud.security.privateca.v1.json | 14 +- .../apiv1/Client/GroupAssets/main.go | 6 + .../apiv1/Client/GroupFindings/main.go | 6 + .../apiv1/Client/ListAssets/main.go | 6 + .../apiv1/Client/ListBigQueryExports/main.go | 6 + .../main.go | 6 + .../main.go | 6 + .../apiv1/Client/ListFindings/main.go | 6 + .../apiv1/Client/ListMuteConfigs/main.go | 6 + .../Client/ListNotificationConfigs/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../main.go | 6 + .../apiv1/Client/ListSources/main.go | 6 + ...tadata.google.cloud.securitycenter.v1.json | 24 +- .../apiv1beta1/Client/GroupAssets/main.go | 6 + .../apiv1beta1/Client/GroupFindings/main.go | 6 + .../apiv1beta1/Client/ListAssets/main.go | 6 + .../apiv1beta1/Client/ListFindings/main.go | 6 + .../apiv1beta1/Client/ListSources/main.go | 6 + ...a.google.cloud.securitycenter.v1beta1.json | 10 +- .../apiv1p1beta1/Client/GroupAssets/main.go | 6 + .../apiv1p1beta1/Client/GroupFindings/main.go | 6 + .../apiv1p1beta1/Client/ListAssets/main.go | 6 + .../apiv1p1beta1/Client/ListFindings/main.go | 6 + .../Client/ListNotificationConfigs/main.go | 6 + .../apiv1p1beta1/Client/ListSources/main.go | 6 + ...google.cloud.securitycenter.v1p1beta1.json | 12 +- .../apiv2/Client/GroupFindings/main.go | 6 + .../apiv2/Client/ListAttackPaths/main.go | 6 + .../apiv2/Client/ListBigQueryExports/main.go | 6 + .../apiv2/Client/ListFindings/main.go | 6 + .../apiv2/Client/ListMuteConfigs/main.go | 6 + .../Client/ListNotificationConfigs/main.go | 6 + .../apiv2/Client/ListOperations/main.go | 6 + .../Client/ListResourceValueConfigs/main.go | 6 + .../apiv2/Client/ListSources/main.go | 6 + .../apiv2/Client/ListValuedResources/main.go | 6 + ...tadata.google.cloud.securitycenter.v2.json | 20 +- .../ListComponents/main.go | 6 + .../ListDetectors/main.go | 6 + ...cloud.securitycenter.settings.v1beta1.json | 4 +- .../main.go | 6 + .../main.go | 6 + .../main.go | 6 + .../main.go | 6 + .../main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../main.go | 6 + ...gle.cloud.securitycentermanagement.v1.json | 14 +- .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../Client/ListPostureDeployments/main.go | 6 + .../apiv1/Client/ListPostureRevisions/main.go | 6 + .../apiv1/Client/ListPostureTemplates/main.go | 6 + .../apiv1/Client/ListPostures/main.go | 6 + ...adata.google.cloud.securityposture.v1.json | 12 +- .../apiv1/LookupClient/ListLocations/main.go | 6 + .../RegistrationClient/ListEndpoints/main.go | 6 + .../RegistrationClient/ListLocations/main.go | 6 + .../RegistrationClient/ListNamespaces/main.go | 6 + .../RegistrationClient/ListServices/main.go | 6 + ...data.google.cloud.servicedirectory.v1.json | 10 +- .../LookupClient/ListLocations/main.go | 6 + .../RegistrationClient/ListEndpoints/main.go | 6 + .../RegistrationClient/ListLocations/main.go | 6 + .../RegistrationClient/ListNamespaces/main.go | 6 + .../RegistrationClient/ListServices/main.go | 6 + ...google.cloud.servicedirectory.v1beta1.json | 10 +- .../apiv1/Client/ListEvents/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../Client/ListOrganizationEvents/main.go | 6 + .../Client/ListOrganizationImpacts/main.go | 6 + ...etadata.google.cloud.servicehealth.v1.json | 8 +- .../ListOperations/main.go | 6 + .../ListServiceConfigs/main.go | 6 + .../ListServiceRollouts/main.go | 6 + .../ServiceManagerClient/ListServices/main.go | 6 + ...adata.google.api.servicemanagement.v1.json | 8 +- .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListServices/main.go | 6 + ...t_metadata.google.api.serviceusage.v1.json | 4 +- .../ListAccountLabels/main.go | 6 + .../AccountsClient/ListChildAccounts/main.go | 6 + .../CssProductsClient/ListCssProducts/main.go | 6 + ...ippet_metadata.google.shopping.css.v1.json | 8 +- .../ListLocalInventories/main.go | 6 + .../ListRegionalInventories/main.go | 6 + ....shopping.merchant.inventories.v1beta.json | 6 +- .../ListBackupOperations/main.go | 6 + .../DatabaseAdminClient/ListBackups/main.go | 6 + .../ListDatabaseOperations/main.go | 6 + .../ListDatabaseRoles/main.go | 6 + .../DatabaseAdminClient/ListDatabases/main.go | 6 + .../ListOperations/main.go | 6 + ...data.google.spanner.admin.database.v1.json | 12 +- .../ListInstanceConfigOperations/main.go | 6 + .../ListInstanceConfigs/main.go | 6 + .../ListInstancePartitionOperations/main.go | 6 + .../ListInstancePartitions/main.go | 6 + .../InstanceAdminClient/ListInstances/main.go | 6 + ...data.google.spanner.admin.instance.v1.json | 10 +- .../spanner/apiv1/Client/ListSessions/main.go | 6 + .../snippet_metadata.google.spanner.v1.json | 2 +- .../ListCustomClasses/main.go | 6 + .../AdaptationClient/ListOperations/main.go | 6 + .../AdaptationClient/ListPhraseSet/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...ippet_metadata.google.cloud.speech.v1.json | 8 +- .../ListCustomClasses/main.go | 6 + .../AdaptationClient/ListOperations/main.go | 6 + .../AdaptationClient/ListPhraseSet/main.go | 6 + .../Client/ListOperations/main.go | 6 + ...etadata.google.cloud.speech.v1p1beta1.json | 8 +- .../apiv2/Client/ListCustomClasses/main.go | 6 + .../speech/apiv2/Client/ListLocations/main.go | 6 + .../apiv2/Client/ListOperations/main.go | 6 + .../apiv2/Client/ListPhraseSets/main.go | 6 + .../apiv2/Client/ListRecognizers/main.go | 6 + ...ippet_metadata.google.cloud.speech.v2.json | 10 +- .../StorageControlClient/ListFolders/main.go | 6 + ...et_metadata.google.storage.control.v2.json | 2 +- .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListReportConfigs/main.go | 6 + .../apiv1/Client/ListReportDetails/main.go | 6 + ...adata.google.cloud.storageinsights.v1.json | 8 +- .../apiv1/Client/ListAgentPools/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListTransferJobs/main.go | 6 + ...et_metadata.google.storagetransfer.v1.json | 6 +- .../ListAttachments/main.go | 6 + .../apiv2/CaseClient/ListCases/main.go | 6 + .../SearchCaseClassifications/main.go | 6 + .../apiv2/CaseClient/SearchCases/main.go | 6 + .../apiv2/CommentClient/ListComments/main.go | 6 + ...ppet_metadata.google.cloud.support.v2.json | 10 +- .../apiv4/CompanyClient/ListCompanies/main.go | 6 + .../talent/apiv4/JobClient/ListJobs/main.go | 6 + .../apiv4/TenantClient/ListTenants/main.go | 6 + ...ippet_metadata.google.cloud.talent.v4.json | 6 +- .../CompanyClient/ListCompanies/main.go | 6 + .../apiv4beta1/JobClient/ListJobs/main.go | 6 + .../JobClient/SearchJobsForAlert/main.go | 6 + .../TenantClient/ListTenants/main.go | 6 + ..._metadata.google.cloud.talent.v4beta1.json | 8 +- .../Client/ListBlueprintRevisions/main.go | 6 + .../apiv1/Client/ListBlueprints/main.go | 6 + .../Client/ListDeploymentRevisions/main.go | 6 + .../apiv1/Client/ListDeployments/main.go | 6 + .../apiv1/Client/ListEdgeSlms/main.go | 6 + .../Client/ListHydratedDeployments/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../Client/ListOrchestrationClusters/main.go | 6 + .../apiv1/Client/ListPublicBlueprints/main.go | 6 + .../Client/SearchBlueprintRevisions/main.go | 6 + .../Client/SearchDeploymentRevisions/main.go | 6 + ...adata.google.cloud.telcoautomation.v1.json | 24 +- .../apiv1/Client/ListOperations/main.go | 6 + .../ListOperations/main.go | 6 + ...metadata.google.cloud.texttospeech.v1.json | 4 +- .../apiv1/Client/ListAcceleratorTypes/main.go | 6 + .../tpu/apiv1/Client/ListLocations/main.go | 6 + .../tpu/apiv1/Client/ListNodes/main.go | 6 + .../tpu/apiv1/Client/ListOperations/main.go | 6 + .../Client/ListTensorFlowVersions/main.go | 6 + .../snippet_metadata.google.cloud.tpu.v1.json | 10 +- .../trace/apiv1/Client/ListTraces/main.go | 6 + ...etadata.google.devtools.cloudtrace.v1.json | 2 +- .../ListAdaptiveMtDatasets/main.go | 6 + .../ListAdaptiveMtFiles/main.go | 6 + .../ListAdaptiveMtSentences/main.go | 6 + .../TranslationClient/ListGlossaries/main.go | 6 + ..._metadata.google.cloud.translation.v3.json | 8 +- .../apiv1/Client/ListAssets/main.go | 6 + .../apiv1/Client/ListChannels/main.go | 6 + .../apiv1/Client/ListEvents/main.go | 6 + .../apiv1/Client/ListInputs/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...data.google.cloud.video.livestream.v1.json | 12 +- .../VideoStitcherClient/ListCdnKeys/main.go | 6 + .../ListLiveAdTagDetails/main.go | 6 + .../ListLiveConfigs/main.go | 6 + .../ListOperations/main.go | 6 + .../VideoStitcherClient/ListSlates/main.go | 6 + .../ListVodAdTagDetails/main.go | 6 + .../ListVodStitchDetails/main.go | 6 + ...tadata.google.cloud.video.stitcher.v1.json | 14 +- .../apiv1/Client/ListJobTemplates/main.go | 6 + .../transcoder/apiv1/Client/ListJobs/main.go | 6 + ...data.google.cloud.video.transcoder.v1.json | 4 +- .../ListProductSets/main.go | 6 + .../ProductSearchClient/ListProducts/main.go | 6 + .../ListProductsInProductSet/main.go | 6 + .../ListReferenceImages/main.go | 6 + ...ippet_metadata.google.cloud.vision.v1.json | 8 +- .../ListApplications/main.go | 6 + .../AppPlatformClient/ListDrafts/main.go | 6 + .../AppPlatformClient/ListInstances/main.go | 6 + .../AppPlatformClient/ListOperations/main.go | 6 + .../AppPlatformClient/ListProcessors/main.go | 6 + .../HealthCheckClient/ListOperations/main.go | 6 + .../ListAnalyses/main.go | 6 + .../ListOperations/main.go | 6 + .../ListOperators/main.go | 6 + .../ListProcesses/main.go | 6 + .../ListPublicOperators/main.go | 6 + .../StreamingClient/ListOperations/main.go | 6 + .../apiv1/StreamsClient/ListClusters/main.go | 6 + .../apiv1/StreamsClient/ListEvents/main.go | 6 + .../StreamsClient/ListOperations/main.go | 6 + .../apiv1/StreamsClient/ListSeries/main.go | 6 + .../apiv1/StreamsClient/ListStreams/main.go | 6 + .../WarehouseClient/ListAnnotations/main.go | 6 + .../apiv1/WarehouseClient/ListAssets/main.go | 6 + .../WarehouseClient/ListCollections/main.go | 6 + .../apiv1/WarehouseClient/ListCorpora/main.go | 6 + .../WarehouseClient/ListDataSchemas/main.go | 6 + .../ListIndexEndpoints/main.go | 6 + .../apiv1/WarehouseClient/ListIndexes/main.go | 6 + .../WarehouseClient/ListOperations/main.go | 6 + .../WarehouseClient/ListSearchConfigs/main.go | 6 + .../ListSearchHypernyms/main.go | 6 + .../WarehouseClient/SearchAssets/main.go | 6 + .../SearchIndexEndpoint/main.go | 6 + .../ViewCollectionItems/main.go | 6 + .../WarehouseClient/ViewIndexedAssets/main.go | 6 + ...pet_metadata.google.cloud.visionai.v1.json | 62 +- .../apiv1/Client/ListCloneJobs/main.go | 6 + .../apiv1/Client/ListCutoverJobs/main.go | 6 + .../Client/ListDatacenterConnectors/main.go | 6 + .../apiv1/Client/ListGroups/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListMigratingVms/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../Client/ListReplicationCycles/main.go | 6 + .../apiv1/Client/ListSources/main.go | 6 + .../apiv1/Client/ListTargetProjects/main.go | 6 + .../Client/ListUtilizationReports/main.go | 6 + ..._metadata.google.cloud.vmmigration.v1.json | 22 +- .../main.go | 6 + .../apiv1/Client/ListClusters/main.go | 6 + .../Client/ListExternalAccessRules/main.go | 6 + .../Client/ListExternalAddresses/main.go | 6 + .../Client/ListHcxActivationKeys/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListLoggingServers/main.go | 6 + .../ListManagementDnsZoneBindings/main.go | 6 + .../apiv1/Client/ListNetworkPeerings/main.go | 6 + .../apiv1/Client/ListNetworkPolicies/main.go | 6 + .../apiv1/Client/ListNodeTypes/main.go | 6 + .../apiv1/Client/ListNodes/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListPeeringRoutes/main.go | 6 + .../apiv1/Client/ListPrivateClouds/main.go | 6 + .../main.go | 6 + .../Client/ListPrivateConnections/main.go | 6 + .../apiv1/Client/ListSubnets/main.go | 6 + .../Client/ListVmwareEngineNetworks/main.go | 6 + ...metadata.google.cloud.vmwareengine.v1.json | 38 +- .../apiv1/Client/ListConnectors/main.go | 6 + .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + ...et_metadata.google.cloud.vpcaccess.v1.json | 6 +- .../apiv1/Client/ListOperations/main.go | 6 + ...ppet_metadata.google.cloud.webrisk.v1.json | 2 +- .../apiv1/Client/ListCrawledUrls/main.go | 6 + .../apiv1/Client/ListFindings/main.go | 6 + .../apiv1/Client/ListScanConfigs/main.go | 6 + .../apiv1/Client/ListScanRuns/main.go | 6 + ...ta.google.cloud.websecurityscanner.v1.json | 8 +- .../apiv1/Client/ListLocations/main.go | 6 + .../apiv1/Client/ListOperations/main.go | 6 + .../apiv1/Client/ListWorkflows/main.go | 6 + ...et_metadata.google.cloud.workflows.v1.json | 6 +- .../apiv1beta/Client/ListWorkflows/main.go | 6 + ...etadata.google.cloud.workflows.v1beta.json | 2 +- .../apiv1/Client/ListExecutions/main.go | 6 + ....google.cloud.workflows.executions.v1.json | 2 +- .../apiv1beta/Client/ListExecutions/main.go | 6 + ...gle.cloud.workflows.executions.v1beta.json | 2 +- .../apiv1/Client/ListOperations/main.go | 6 + .../ListUsableWorkstationConfigs/main.go | 6 + .../Client/ListUsableWorkstations/main.go | 6 + .../Client/ListWorkstationClusters/main.go | 6 + .../Client/ListWorkstationConfigs/main.go | 6 + .../apiv1/Client/ListWorkstations/main.go | 6 + ...metadata.google.cloud.workstations.v1.json | 12 +- .../apiv1beta/Client/ListOperations/main.go | 6 + .../ListUsableWorkstationConfigs/main.go | 6 + .../Client/ListUsableWorkstations/main.go | 6 + .../Client/ListWorkstationClusters/main.go | 6 + .../Client/ListWorkstationConfigs/main.go | 6 + .../apiv1beta/Client/ListWorkstations/main.go | 6 + ...data.google.cloud.workstations.v1beta.json | 12 +- .../device_manager_client_example_test.go | 12 + kms/apiv1/ekm_client_example_test.go | 12 + .../key_management_client_example_test.go | 30 + kms/inventory/apiv1/doc.go | 6 + .../key_dashboard_client_example_test.go | 6 + .../apiv1/key_tracking_client_example_test.go | 6 + ...ows_service_v2_beta_client_example_test.go | 12 + logging/apiv2/config_client_example_test.go | 36 + logging/apiv2/logging_client_example_test.go | 24 + logging/apiv2/metrics_client_example_test.go | 12 + .../autogen/operations_client_example_test.go | 6 + .../managed_identities_client_example_test.go | 6 + .../apiv1/trip_client_example_test.go | 6 + .../apiv1/vehicle_client_example_test.go | 6 + .../apiv1/delivery_client_example_test.go | 18 + ...m_datasets_v1_alpha_client_example_test.go | 12 + .../cloud_memcache_client_example_test.go | 18 + .../cloud_memcache_client_example_test.go | 18 + .../dataproc_metastore_client_example_test.go | 30 + ...etastore_federation_client_example_test.go | 18 + .../dataproc_metastore_client_example_test.go | 30 + ...etastore_federation_client_example_test.go | 18 + .../dataproc_metastore_client_example_test.go | 30 + ...etastore_federation_client_example_test.go | 18 + .../migration_center_client_example_test.go | 66 ++ .../v2/alert_policy_client_example_test.go | 6 + .../apiv3/v2/group_client_example_test.go | 12 + .../apiv3/v2/metric_client_example_test.go | 18 + ...otification_channel_client_example_test.go | 12 + .../apiv3/v2/query_client_example_test.go | 6 + .../service_monitoring_client_example_test.go | 12 + .../apiv3/v2/snooze_client_example_test.go | 6 + .../v2/uptime_check_client_example_test.go | 12 + .../apiv1/dashboards_client_example_test.go | 6 + netapp/apiv1/net_app_client_example_test.go | 66 ++ .../apiv1/hub_client_example_test.go | 48 ++ ...olicy_based_routing_client_example_test.go | 18 + .../apiv1alpha1/hub_client_example_test.go | 12 + .../apiv1/networkmanagementpb/trace.pb.go | 2 +- .../apiv1/reachability_client_example_test.go | 18 + .../network_security_client_example_test.go | 30 + .../managed_notebook_client_example_test.go | 18 + .../apiv1/notebook_client_example_test.go | 36 + .../notebook_client_example_test.go | 24 + .../apiv2/notebook_client_example_test.go | 18 + .../apiv1/environments_client_example_test.go | 30 + .../image_versions_client_example_test.go | 12 + .../apiv2/org_policy_client_example_test.go | 18 + .../apiv1/os_config_client_example_test.go | 18 + .../os_config_zonal_client_example_test.go | 30 + .../os_config_zonal_client_example_test.go | 36 + .../os_config_client_example_test.go | 24 + .../parallelstore_client_example_test.go | 18 + .../apiv1/simulator_client_example_test.go | 12 + privatecatalog/apiv1beta1/doc.go | 6 + .../private_catalog_client_example_test.go | 18 + pubsub/apiv1/publisher_client_example_test.go | 18 + pubsub/apiv1/schema_client_example_test.go | 12 + .../apiv1/subscriber_client_example_test.go | 12 + pubsublite/apiv1/admin_client_example_test.go | 36 + .../apiv1/cursor_client_example_test.go | 12 + ...artition_assignment_client_example_test.go | 6 + .../apiv1/publisher_client_example_test.go | 6 + .../apiv1/subscriber_client_example_test.go | 6 + .../apiv1/topic_stats_client_example_test.go | 6 + ...igration_assessment_client_example_test.go | 18 + ...ecaptcha_enterprise_client_example_test.go | 30 + .../apiv1beta1/catalog_client_example_test.go | 6 + ...on_api_key_registry_client_example_test.go | 6 + .../prediction_client_example_test.go | 6 + .../user_event_client_example_test.go | 6 + .../apiv1/recommender_client_example_test.go | 12 + .../recommender_client_example_test.go | 24 + .../apiv1/cloud_redis_client_example_test.go | 18 + .../cloud_redis_client_example_test.go | 6 + ...cloud_redis_cluster_client_example_test.go | 18 + .../apiv2/folders_client_example_test.go | 12 + .../apiv3/folders_client_example_test.go | 12 + .../organizations_client_example_test.go | 6 + .../apiv3/projects_client_example_test.go | 12 + .../apiv3/tag_bindings_client_example_test.go | 12 + .../apiv3/tag_holds_client_example_test.go | 6 + .../apiv3/tag_keys_client_example_test.go | 6 + .../apiv3/tag_values_client_example_test.go | 6 + .../resource_settings_client_example_test.go | 6 + retail/apiv2/analytics_client_example_test.go | 6 + retail/apiv2/catalog_client_example_test.go | 12 + .../apiv2/completion_client_example_test.go | 6 + retail/apiv2/control_client_example_test.go | 12 + retail/apiv2/model_client_example_test.go | 12 + .../apiv2/prediction_client_example_test.go | 6 + retail/apiv2/product_client_example_test.go | 12 + retail/apiv2/search_client_example_test.go | 12 + .../serving_config_client_example_test.go | 12 + .../apiv2/user_event_client_example_test.go | 6 + .../analytics_client_example_test.go | 6 + .../apiv2alpha/catalog_client_example_test.go | 12 + .../completion_client_example_test.go | 6 + .../apiv2alpha/control_client_example_test.go | 12 + ...center_account_link_client_example_test.go | 6 + .../apiv2alpha/model_client_example_test.go | 12 + .../prediction_client_example_test.go | 6 + .../apiv2alpha/product_client_example_test.go | 12 + .../apiv2alpha/search_client_example_test.go | 12 + .../serving_config_client_example_test.go | 12 + .../user_event_client_example_test.go | 6 + .../analytics_client_example_test.go | 6 + .../apiv2beta/catalog_client_example_test.go | 12 + .../completion_client_example_test.go | 6 + .../apiv2beta/control_client_example_test.go | 12 + retail/apiv2beta/model_client_example_test.go | 12 + .../prediction_client_example_test.go | 6 + .../apiv2beta/product_client_example_test.go | 12 + .../apiv2beta/search_client_example_test.go | 12 + .../serving_config_client_example_test.go | 12 + .../user_event_client_example_test.go | 6 + run/apiv2/executions_client_example_test.go | 12 + run/apiv2/jobs_client_example_test.go | 12 + run/apiv2/revisions_client_example_test.go | 12 + run/apiv2/services_client_example_test.go | 12 + run/apiv2/tasks_client_example_test.go | 12 + .../cloud_scheduler_client_example_test.go | 12 + .../cloud_scheduler_client_example_test.go | 12 + .../secret_manager_client_example_test.go | 12 + .../secret_manager_client_example_test.go | 18 + ...cure_source_manager_client_example_test.go | 24 + ...rtificate_authority_client_example_test.go | 42 ++ .../security_center_client_example_test.go | 72 ++ .../apiv1/securitycenterpb/finding.pb.go | 581 +++++++++-------- .../apiv1/securitycenterpb/notebook.pb.go | 218 +++++++ .../security_center_client_example_test.go | 30 + .../security_center_client_example_test.go | 36 + .../security_center_client_example_test.go | 60 ++ ...ity_center_settings_client_example_test.go | 12 + ...y_center_management_client_example_test.go | 42 ++ .../security_posture_client_example_test.go | 36 + .../apiv1/lookup_client_example_test.go | 6 + .../apiv1/registration_client_example_test.go | 24 + .../apiv1beta1/lookup_client_example_test.go | 6 + .../registration_client_example_test.go | 24 + .../service_health_client_example_test.go | 24 + .../service_manager_client_example_test.go | 24 + .../service_usage_client_example_test.go | 12 + .../account_labels_client_example_test.go | 6 + .../css/apiv1/accounts_client_example_test.go | 6 + .../apiv1/css_products_client_example_test.go | 6 + .../local_inventory_client_example_test.go | 6 + .../regional_inventory_client_example_test.go | 6 + .../database_admin_client_example_test.go | 36 + .../instance_admin_client_example_test.go | 30 + spanner/apiv1/spanner_client_example_test.go | 6 + .../apiv1/adaptation_client_example_test.go | 18 + speech/apiv1/speech_client_example_test.go | 6 + .../adaptation_client_example_test.go | 18 + .../speech_client_example_test.go | 6 + speech/apiv2/speech_client_example_test.go | 30 + .../storage_control_client_example_test.go | 6 + .../apiv2/storage_client_example_test.go | 24 + .../storage_insights_client_example_test.go | 24 + .../storage_transfer_client_example_test.go | 18 + .../case_attachment_client_example_test.go | 6 + support/apiv2/case_client_example_test.go | 18 + support/apiv2/comment_client_example_test.go | 6 + support/apiv2/doc.go | 6 + talent/apiv4/company_client_example_test.go | 6 + talent/apiv4/job_client_example_test.go | 6 + talent/apiv4/tenant_client_example_test.go | 6 + .../apiv4beta1/company_client_example_test.go | 6 + talent/apiv4beta1/job_client_example_test.go | 12 + .../apiv4beta1/tenant_client_example_test.go | 6 + .../telco_automation_client_example_test.go | 72 ++ .../text_to_speech_client_example_test.go | 6 + ...ng_audio_synthesize_client_example_test.go | 6 + tpu/apiv1/tpu_client_example_test.go | 30 + trace/apiv1/trace_client_example_test.go | 6 + .../apiv3/translation_client_example_test.go | 24 + .../apiv1/livestream_client_example_test.go | 36 + .../video_stitcher_client_example_test.go | 42 ++ .../apiv1/transcoder_client_example_test.go | 12 + .../product_search_client_example_test.go | 24 + .../apiv1/app_platform_client_example_test.go | 30 + .../apiv1/health_check_client_example_test.go | 6 + ...ive_video_analytics_client_example_test.go | 30 + .../apiv1/streaming_client_example_test.go | 6 + visionai/apiv1/streams_client_example_test.go | 30 + .../apiv1/warehouse_client_example_test.go | 84 +++ .../apiv1/vm_migration_client_example_test.go | 66 ++ .../vmware_engine_client_example_test.go | 114 ++++ .../apiv1/vpc_access_client_example_test.go | 18 + webrisk/apiv1/web_risk_client_example_test.go | 6 + ...eb_security_scanner_client_example_test.go | 24 + .../apiv1/workflows_client_example_test.go | 18 + .../workflows_client_example_test.go | 6 + .../apiv1/executions_client_example_test.go | 6 + .../executions_client_example_test.go | 6 + .../apiv1/workstations_client_example_test.go | 36 + .../workstations_client_example_test.go | 36 + 2533 files changed, 23266 insertions(+), 2333 deletions(-) create mode 100755 securitycenter/apiv1/securitycenterpb/notebook.pb.go diff --git a/accessapproval/apiv1/access_approval_client_example_test.go b/accessapproval/apiv1/access_approval_client_example_test.go index 6f6178a6af6..5e947329ac6 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 77659d837b6..69d620c8e59 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 33562027392..afd18831f2d 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 e3b42a5dcaf..c758b741ca6 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 9752645e6fc..6d43ef35cb6 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 069deb3e58d..e793f180fdc 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 28831210206..dbefa56220e 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 11f4a249f39..8607b403aea 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 f22e474e443..f34bbbe3b69 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 32621f6fc72..8cf09dc2ad7 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 d12cf4f23ec..c759a657955 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 7f0577ee011..5de79e504c7 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 8332eaaacef..ab1db946d0a 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 0f857a61d6a..a5ec690ba1e 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 e9f518dcc94..471198b3e45 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 f51792c0e73..9709b60ef51 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 6aac9c19688..385238decbd 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 b8fea0ccf99..f2970d609b0 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 3df9c66a54c..b6e1533bde3 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 87258738097..578b221766f 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 a46c9e3061a..e7ca3de9583 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 840cbc4413e..a94d1252c98 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 96a5979854e..5407b3ef489 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 e31a8f95d40..a49e9982fae 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 28126a7e198..887372b4cb4 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 f37b15aa133..bd034ae5f07 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 04012565223..9468af8b60a 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 21ee3cca193..9fd35d474ab 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 125133e34d5..7197bdcf7c4 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 2674965bcff..3e5cba6345c 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 d12930f55f7..73b467cce3d 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 1d038a80d73..dfb2b0575d7 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 c4abed43841..8640044cad9 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 f12e50eb4d9..a5f748cbf48 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 559e513880a..305f1dd3e4d 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 1c7e56ad69f..db3ca876853 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 c63a6732252..880ccf8e891 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 db983b1a9ac..0e568e6accb 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 fcac9e38022..88610738b15 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 afae0fdf0a9..246f617e84f 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 0a1857b646b..ddf2ac1bb9b 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 4b6037b075d..9f19799b91a 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 0a777102755..68ac9d7907f 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 5908f76d431..841a690f898 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 61912d34170..01964cc52ad 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 51daf591ad1..1943b0cc12f 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 49022c47572..257291f0e79 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 7f5d90c82ad..2ec09c425bb 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 3af91380c5a..36f44649ede 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 03cfa225ba0..f62cac9fcdf 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 561cc06c812..c6acb545b01 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 af1cd803cab..1794d2d4797 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 12787a86067..3c4b7d0e3fd 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 54eb1f29513..18b2dfcb67f 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 6fe767277ea..c368087def0 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 90c74c1f6a3..be6aa58c964 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 d1f3267b151..0270fff07d5 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 31889d99916..aeefbcd2e25 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 fe88c1ee625..7bedcd73bc2 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 fb411f55bd3..e01db400ac4 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 860fccbaf93..4d6b8f9b033 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 9e808ebb58e..201ad4857bb 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 84fdb5364b2..b919c55f215 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 97fa3359206..7e46841d726 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 b43ce488771..7801b49fe1b 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 2d31ce100cf..451c14a49ee 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 5387af4ef55..fd6961735d4 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 7b60aeb08ad..e7e83f62161 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 c5ff4698dc2..f3c1af48231 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 d9ec537aba9..e5446a93dce 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 96ee7c4222a..2546bfb0f95 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 bd0e0ed1122..8c5bbb8392e 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 bc8eb1c40af..b4c106eba35 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 559e9e16c5d..ea4f08bf3dd 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 66d7f16ce15..288fea8bcb8 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 068cced0101..2ad15a019a0 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 fa385f720ad..e3148644fdf 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 038ebbd2d3a..5561ae890b6 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 591f0c69d61..182807d3130 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 ce9a31c6c01..60730274ccb 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 d892da4a4a6..cbc288cb3b5 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 c0f638a47de..6b54aa97068 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 96fc1a388b9..706856194b2 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 d3f17d5a883..f29b90de54f 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 c654cee1c21..2b4722b7bce 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 b0400e0695f..eeb871fbb36 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 d98d682c945..6aec839e8c1 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 4973a1b2830..20c334bd653 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 562a5983769..3848e3d0579 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 4dd50d0242b..41c8d2665fc 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 b43a47ff4c8..60bb00abdae 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 790bd4d22a7..602d77644b1 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 bde3755f547..31bf7eddc1a 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 b58921d7665..71b50484477 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 fed27c7388c..6d307316359 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 47083e44869..0ec1713010a 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 3ceca40678f..d7f66196ea5 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 d1d2ee53f00..4c3aa57dc22 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 9b9cf56b4b6..8167105be64 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 e3edea38f56..58eeab5c756 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 b2584442672..d5dde85f457 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 d0eb43bf324..b6cda78804c 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 341709a8508..b3f50e763f4 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 22f9c72608b..1a8e67f619a 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 fdd93f5a002..13a2bbfe3e9 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 ce56ab18da8..c10dbd997a7 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 d12ca9819e3..6317dbb86c7 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 3ee31227135..3aac5acfcfc 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 1b52de8407f..1bc0fb8e406 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 2f683150a77..ad1a3b970af 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 08b9d280b4c..7b5d287f427 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 015752ab264..17f2301eca0 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 17a28c01991..18d3eb78ba5 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 47ed154d64d..c544a9d0428 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 873d612e4ff..145a75a5f64 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 ed2f387fc2f..312129c0aed 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 023653f9f60..4cb1ac95b2e 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 2f856fe48fb..74aa35ba103 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 2a43814270b..c4ce47237e3 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 c759b018985..d2e4fb7bbfe 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 bc2589f427b..31048304cce 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 179ff9867b5..e3260feec16 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 d7639cacbbb..9349926a16b 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 94aa660d426..261bbde672c 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 ec21d5ca520..91f2b483613 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 f3d4c90ed87..2adce5e9634 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 206432d506e..e9fca2456c5 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 b6cf2814d6f..42bee9ecca4 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 3c2eaafa74d..51a95624faf 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 409d5f4949b..49d76fb09bc 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 3f66fe9c049..2255536710d 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 64ac79c47f5..5e660258de8 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 3492dcb3e8f..77f5fde204a 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 dda471682ce..3ee85d9085b 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 caed0bf735a..00984917942 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 ec23c092967..98ed914fc24 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 4623724965d..b0a94ed6350 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 abcb83b14cc..5c951ae1f64 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 aad6e8a82e2..9647c51baaf 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 90a1d924529..c7bb307f197 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 f415f307ab0..281841fe37d 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 7763c2177f3..c2e61b3b4b8 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 abf5272a851..38317e0e36a 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 2cc8f920523..ab8f9e198f9 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 0d886ce46da..967a4ea5d3d 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 52b79b38e33..1a328e18b4c 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 29dc22ef178..95e6449dca4 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 94258a5b82a..086bda72899 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 a6c74b51543..be0e9d7b282 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 5c98d54b30a..7ccbb3762ba 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 e4b254be9f3..4067ce7e2b3 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 280c05f08b7..1f7fe609ad2 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 93cb22ad85b..8856cb5e4bf 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 8f14794b23d..32f02c54d42 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 70b828b3cab..6eff99fcb5a 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 c50251af087..9716ff960be 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 ee34e207f5b..b422c7eca15 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 c285014ef7e..23cfd79051a 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 7ee3715b057..9378d89e0d4 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 8448b3034d5..2a22c66efba 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 88231e0710b..21670a12272 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 52e2008f50a..ca516dc6597 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 14563cc8ef3..da61d8a4829 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 d0623473a39..5b50e10b243 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 43d95e89d60..c87a0934a0b 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 2b109ba3629..9c7fc3b29de 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 9b362a2e094..d7b10205686 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 7c538194f4f..1910afacbc0 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 f40b4ff1626..bef6102a6b8 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 17a1d8a3222..ed85d084828 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 ae03286c96e..ab0c1d7f473 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 f73128e273a..ef5db6a1c12 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 5614beb9de1..851735c482e 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 0aa04077be5..a345b4372a1 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 bd7af3531bb..3691fc34513 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 790c7a4e4e7..2b2d7afa11c 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 c2ed3d560f0..38d449d4c09 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 b995f367559..1ad1e8c9113 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 77a34bceab8..37f3c2e2afc 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 778f9fa19f2..e3cbda18aef 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 0dca7de02a0..6e37b536f6e 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 5edc9737ac4..e94db4f949b 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 023f8a64ced..9242b966c83 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 068d0d73ba6..737c7884c17 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 0ba88b3cf16..d7f96427894 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 37eac711b61..8ecd665f344 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 42194fab199..6bdd043146d 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 1476daa3ed7..14f4977501b 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 4c3e28d52de..a8cc6ee6455 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 8a78fcc4f6d..b2403f7f2ff 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 2727e93e327..2a01ad128a1 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 91bea06fe34..1bf625ea014 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 8a459af17f7..050c0fb8ff5 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 3cef067f64e..969ca8f7db6 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 906b24f6b9b..85d2cd6c939 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 ca8e7f9272c..334d93bcccf 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 803bd7191ee..4815fc2667a 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 55f667159c9..0fc2341d92c 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 2d7c406fd9d..efb5cc7a925 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 a602857842c..41df8f69253 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 edadebdb422..85d5c2a0cb4 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 e3d567c2bc6..0e8e0282fe6 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 f3e403b3f85..871b5601d02 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 309ab46c77f..42d8ee63ac9 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 057ee046941..c629b769c32 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 4a2a68eee7d..c048299b46e 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 adff358ba77..e2716a80c40 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 fc0e7e6199c..9255ac5fdc0 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 47e1838b1cd..4ced1e24638 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 8d5f7517b64..b2099060be1 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 fc7a655ec9b..dfa7300ee96 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 ae79f565b36..b1e21184f8f 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 711d301aede..44fdba1e219 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 7e93b77c5c8..f24893f24d6 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 9cdaa7283e1..9924051f209 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 5ff466d2e02..cb28fb9e082 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 090b88fd3bf..afd107466c3 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 3c9bc742958..6da4c71649a 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 b2959ac1482..2893a06fb3d 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 8cbb433e8c8..bcffc129533 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 8c2b3fc1902..b439388848c 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 cd2f930458f..8ad13e11ad4 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 a19b1aa484b..a4f89b81530 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 fae6eaa3c56..0355a64987c 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 4fbfe5594a6..003bcf85481 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 26e9ebfc008..84fe4184f17 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 ce44cb6f92f..2fba1ee1951 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 cac5de545b8..71acc115a91 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 ad5db511e5e..33b32991831 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 946909f96fc..e5ea93cb9bf 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 2e2dec2bccb..65153f08208 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 70c8075f830..361d0b3d6b5 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 6ddb7ef2ff4..974d73fa32c 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 aa926b24602..b5cf18306c5 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 588fa52ee5e..5059963e954 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 72a738249c5..cfe3214793f 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 12ece73b330..9d291af9e4d 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 4008b72ac86..c396f3dcda6 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 26f08a63386..63b187c130b 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 576752b066a..345c504c3a6 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 33eaa803bea..72c777cfc8a 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 dd507b9fd54..71d8563d9ba 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 354f1a46c2b..d0daaf0ecd7 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 a4002a36e73..186fd946a4d 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 c7b7e4ad35a..f7b816487c2 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 80d533f515f..786439bc817 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 f9133e7efef..aaf5671b87e 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 b9718a7921d..fbca97a0d38 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 fd4b66703a5..d27d58d8d87 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 986094b6399..9e665a0b144 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 a3c30178410..e1810e44f16 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 a18e773a36f..bf27cf7f5b7 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 e2a299fd199..0ae8d936c86 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 71207356926..210e8ef1440 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 5ea1cf827e4..a41f288c288 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 3a4c974216f..99740a8666c 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 573e9b408e0..011a5054b2d 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 4a00c921f5f..e1084995932 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 428848d216e..9a6a6ba724d 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 a6e3ef08be0..9083f03babb 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 7d820e56268..2a4f56cb553 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 9a7d32a2c06..977212b5dfb 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 79d77c749b5..560defad548 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 329ae5682fa..8dff4260041 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 a4135e90e9e..7a547262df2 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 39811bbea3e..acd5c28afec 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 a381adb780d..307b6891785 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 21288d39c8d..7981fa7aa34 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 83211590fec..40f55d56564 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 d9c48493478..ab9a09f1f12 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 581067210b1..3f82f2971a1 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 b4254c75ee8..9125ac92f20 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 4f1520b6dc3..b53a1c9096d 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 e68bc1f7f44..528dad4ece9 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 bb4540b0024..39044b95694 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 19c474425af..dcd5efbb9a2 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 2b9ad7d5b83..06b10fc017b 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 dea948d6e28..7b7403513b4 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 b10aa8ec8f8..26478dac4b7 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 9c73eff39dd..41f492fbea7 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 5ae026ddeb2..c8a45c68857 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 fefed34f4f3..9e5512c66f9 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 4036ffeeb9b..982aa9ab122 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 9f592992917..e42750c67b7 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 a40f46ba491..8f574ee2bd9 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 6403870aaaf..1929ce19e85 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 f1b3d0d8822..dfe8ebb7e44 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 a1548912155..052dfe8416d 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 4b5f2809c28..c10c89a4403 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 b0be9e1a235..12f76e84da0 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 97f2533fc9f..cedd2f4cd22 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 906606e8fe1..09053b15406 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 17fa477369b..0eab37b4ebb 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 89193e61cb6..7fe4ca2d7e3 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 51840c7e751..879c3b3cdbb 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 59b570ee07e..387b3256b11 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 071ad231369..fb5cbfbf46a 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 ebdf03699d2..718aea15794 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 4d79e9dc568..29265408c74 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 b3f1735dca0..6df0cdf4cb5 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 cf6433ad140..e32026d65a4 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 5b61a1ac30e..08816ae6ebc 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 033e72b8f93..fe11d619096 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 736aa0d6ebf..08114758bba 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 1b195ce2104..a2ff5de73bd 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 26046a56bc6..391f1286ae2 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 1665218bd8a..d4dd6a75c29 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 ceedab915b4..dbd7636da01 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 a69f9b6c73b..1ba17a65c4b 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 31c701b98f0..ae8c0f79d58 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 0a9e7a3664c..7661b453503 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 b974e10edfa..998a599546a 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 7da81c47837..be4d9975ebd 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 1d5e4035c32..f42a0927c2e 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 96de4e6cb11..8afe1b77715 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 70f8a15ab23..e6640e764af 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 3d34ee43dd7..9dfc559ca3f 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 87cf8875c14..df79a110101 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 72f0fcf01cc..126c97cfaa6 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 cb1bc4c49b4..88a7eb217d5 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 96bdea54327..05ad5a44342 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 7d2cc8cf0e6..2df386690c4 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 843347f157a..8e5dcc35809 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 a2344e8f73a..ca4e3921a2b 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 068043a4240..7b7edc18af6 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 fab353e11e1..d3454daae73 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 05b958f4d4b..0087f64222d 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 860846c9fe1..8cc185cad04 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 aa85f86c8fb..2138c34d42b 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 e01b6cfb3c0..dc16afa066e 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 68594730d33..8c7928cbaf9 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 ba9879a33ec..b2f6fe6be7b 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 a3348cd605e..24749f31337 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 dd9812f6f6e..458138e9834 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 57e0a70bc66..2384c5dfa8e 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 0acb369ccc8..3331786c4ad 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 b8086f3decf..f2b068b03cb 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 3d1d4d235eb..88bfc9c79da 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 fb23d484f1b..bb765ce19c2 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 fec7ae5b630..eae7ddc352d 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 83809a6e63e..4d129af8b83 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 35564594215..64d6555d031 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 8153fb1cc3a..4f4f92dc634 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 3be971a3116..c129c167b55 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 f02657d4234..4193e480bed 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 e2f1d33a473..22245a3746c 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 d1bb0239de0..ab5615dc0f2 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 2d07c187009..d4c7b77fece 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 dfbbf8ff0c7..516b89e61ac 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 8caf3100eb7..fe8ddc98a4a 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 9386e0545bd..9a8ade97fad 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 b68cd631e54..4cabb7357f7 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 a680f70e8f1..082d6a5424a 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 02cc25902c5..d593f3cd958 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 9bd7279d422..561adbabdeb 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 d868e70f073..59d812baf7d 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 555c5beaf9b..ae6924f397b 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 066b5fb241d..c6135f3f77b 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 1d76e21528c..f6b6817a248 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 26426ab2cae..63a89e16ed5 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 85c197c3327..99485956f39 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 b7235977153..2e4ec01d77e 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 8bf593b212c..80062d0c7f3 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 5167ac897a9..0e7af3e0ec4 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 aa222e29be3..dd78bec20fa 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 69a0b683f95..f984639042f 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 1ecf1a7680b..9d92a2a013d 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 d59af0d8068..0e90af17946 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 01a46da5b57..250298575e7 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 ea3649cb755..3d061c891a0 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 f086771c2e5..9bbc2012e82 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 98116736867..06f0aee341e 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 dd426c3d4af..64e7dbf6cce 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 10a37046a93..f1f91156ae9 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 f1403629f2f..f184b0630c9 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 3393476e1d3..89aa0208bef 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 473a83d2f87..6ea6f155485 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 e2dcd292ed7..34ca7012abb 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 23dc9811188..19fdf446593 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 96881477f0c..ffa7b3fcf17 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 f963f69c2fb..6e4d475da65 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 351e2f52915..62c952d1939 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 2aaa909fcda..09bc13756af 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 97ad3b75364..fabb9d8d471 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 2892ace6ae4..73ed23e7b29 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 d27ed5dbb6c..e0e0fb76655 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 3d1dd4384cd..b6112fd3c4d 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 e91ccd21498..f415939f5b0 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 7dfb8ad9a26..bcd76ada8be 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 98c68174559..a0cd312f954 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 9c671418151..89be1bc13da 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 72bf5ba2bee..ea5a84b4ef3 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 c5eea338afb..e1f5f80e1aa 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 bda2a92b257..b5596172355 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 b9e34bcfaa2..53048d8f78b 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 7c06064506a..7adc9a5947d 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 41137b196c3..6dafd8fa14d 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 a33647ce908..cec640fe6a6 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 c88338b3e20..1ba42afa474 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 440424ce94e..f47dcc30ac9 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 2b9164b210f..b103f4f0c69 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 0a2b82ef320..d3c9c82101d 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 9c9d0b7c386..8d7367fa040 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 8f92815736e..70651a673c4 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 00deda03826..170105f7265 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 7d50b20560f..094e137cb3f 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 c8843a4706a..2839b5b4b63 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 3d26d128761..4a2d920478f 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 1ae01adf9d0..2bb530d1239 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 5bc0363fb55..ee6f28117c9 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 90db7ebc1d1..14aac79f285 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 e382cc70c69..bab5afe2a1f 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 2d307148b74..70b9744d4d7 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 c44c00522ea..aa306730d1d 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 3d521fbcb2f..c9c15014519 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 b7612a723a2..41a4e066c9a 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 29ee02f4232..a5518e33b7e 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 3f3138fe416..b7ac60d8821 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 67f4709863a..bc667097112 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 c01710f1bf9..635ba74d600 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 df8a70bfeb5..9355fdb1fec 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 e16565ff93b..b650425cb41 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 28469a7a857..79b61527098 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 b8a1f1501b3..22bedd5bb71 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 bcb647c12fc..951fc1f54a6 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 4ad49360d07..c6f3cd4091b 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 2eee77fdb2d..789765835e1 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 4ccaf3e174e..15c2a557f0c 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 52e89576860..41a7f7e7e03 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 833918acdd2..ab78f30c0b9 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 b90d800f4de..6496fff178e 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 3001dee9769..1be902ad80f 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 c13c9ed2e4f..803f4f0ac50 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 efc1bf5fc75..cd2f5cee8e4 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 86b574b5ac2..c288c75703b 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 508ec4a8877..3e50124a2dd 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 a09ff40aa90..87afb110849 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 db21dc756a1..86bb547f79f 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 82979821553..db622c3386f 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 4d3988d1a09..7152bb28d35 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 93694853087..2882d4d952a 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 7289534eaac..1526c46e429 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 68d640e48ba..9bc4a9b848d 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 4fa129032ef..192fe87b8be 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 9a95b930ae4..60a00864f15 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 b8e0c65d63b..74ce525ff07 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 e1a03579213..92638e8374c 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 a6945e3088f..6683d4e3417 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 241ca9c28b0..2df70bb5d84 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 05d6f4f0640..c5518333a79 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 3131e4db870..3fb7719cf9d 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 d6bd2940b51..217e3b4413a 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 35aa3b49a5c..53033ebad45 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 aa28cd294ea..00320cd0b09 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 7d8b4c24291..783cd045547 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 4d4d1b9cccc..a49b079fdf8 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 4133cf01471..e8fc7b7897d 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 12cd5684568..8ac8e086311 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 79af6926b97..fd0c0f07646 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 c6f22db9e9d..733849809b8 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 a6a7360b185..bc7b9a6b7dc 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 8e400f14f0b..8e2041415f5 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 4a4e895858e..96d627d588a 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 90bd4ecfb88..f03501ee526 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 f456878eac8..dc05f4709cb 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 56364887168..f7dd7855d5d 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 f04407278d9..e88e0f3f016 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 d15d0055d56..df6f040d270 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 a1c99472197..b233709e42c 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 d899ddcba06..73be8441b64 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 26fecdd470c..d35c22c7d08 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 925816e9eb1..abfed9480bc 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 aa1f18fcd81..382736b9ca8 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 bea49b7a91f..8922e23304e 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 1864f5243d2..1dfe85d9333 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 dd01438da6f..3574fc6944e 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 7b63cac6012..fb268790270 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 3bf6c3deaaf..fa7da19dd22 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 151e42193ba..0ed64689510 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 62090d90670..03b944f3615 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 6a67cb5ed54..a763a1832f3 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 524e28910fa..f6c8a38ec3d 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 1916c94aee5..2a6f08af0cf 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 1bf0e2efd5d..80611b8f8d2 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 01014b1b1a5..decd629a307 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 0dccd264a1e..95659d54ffd 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 92b566f9396..6c91f7aa0b5 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 90fc01b0f6c..89124e998ef 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 3dcfc282cf3..8a7fe1a53a7 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 08bf915f68c..2038a9dc7f6 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 6d85206a060..b31f9673898 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 1abd0975662..79ea4d34ac0 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 506fcb06a66..7e1a05524ce 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 af9b9a4bbf6..fd7981a4bf2 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 8854212aa55..aaf8bd7077f 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 83674ff2638..d648ed906f7 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 964c8130da7..23ec58df1a5 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 61bcc8b4552..e434b215801 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 211153693c1..38229a7160c 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 ebc80c3f6b7..bdf09792524 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 8267e8adde7..b1b6cb757f7 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 e2625df655a..2440cbd17c5 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 3cbf9b60eaf..005aa122b02 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 af3d60738b2..d726cdb7068 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 88c44725f12..f0eed65996c 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 896c41bd8e3..b3110e6ae9a 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 377fc14ea22..f3156da40f3 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 a99f08f49d7..40f5429f365 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 0b81c4ef4b7..cc138b30b6e 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 23df1f0831b..f0bfe4b69d9 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 c41cccda1dd..b733a109c91 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 b5042ae771b..2a512dcf71b 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 122484b2537..e8040595291 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 ec513e751b4..a9727c8097b 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 6369e438691..ab843154037 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 09f5c1aba97..84a2851cec5 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 ad1a886eab7..27fef15d29c 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 9f9a417ea3e..060e68d7bbf 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 1c93da6bfc1..e5be86de1f0 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 18b87e44485..b1ca577eca0 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 649a0b27568..21cbf0abbb4 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 4e1a6071f75..c60be462abd 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 1740157279a..23219f0d588 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 1eac1443406..2239c35fff8 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 6cc5cc469ee..29cf7b33b49 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 0857e277df2..05a524b3f31 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 6861ed097e8..1f4b50d2241 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 1499bd9f261..51642e867a9 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 2c8ae72398a..100e3ae082e 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 1174f5dbac2..2914c773f56 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 3343286a060..43f8f50597f 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 b14b09a1b6e..d3086939bb1 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 4b1a411403d..b9eedf12b19 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 97c78fb3a04..c4b365eb932 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 0dca2364337..8628d0fcb82 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 9f1fabd1897..4322b7668c0 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 26348f8c2f6..589be3cd4a4 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 0a34a2e6393..f5243bb69cd 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 c48c9b68934..0c65984ac7f 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 deb70433186..2bce7171681 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 7439bb311e9..ce5223e7ee6 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 b4807e76f3b..0f8a7d21456 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 c4529bffbb4..fcd615a4cd7 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 2015ab55451..17774bdde04 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 07bf7375e47..38c815afd22 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 12c33815528..41dad9c274a 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 98f99ddd3f2..05b15483771 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 348007d5b62..841ca25629c 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 affbfbbb913..6ac0b0bb04f 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 17e496371a0..60cf9376b50 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 a7c7778101e..0c638003ee7 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 af63e75e735..60a73a32fad 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 e882e23ae0c..33535253bf9 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 083fdf51b4e..6b5a2a03b20 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 15c0e03813e..3cebf7cbe13 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 90827a46c82..c9206b3006c 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 5a85be26e25..877c0eb1d4e 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 10e942ab789..e1e51261457 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 f8440a28d19..eda03e288b2 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 9984995350b..42ae53cd77b 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 220f132b1cc..3e8188fb9b2 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 18eb6e48e1c..8922074baec 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 92ab3d2968c..39678d94bcd 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 b8be9bddc01..aba6a647843 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 9da43141a19..d7aeb67671a 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 c0a576ba00e..0c34a4fa63d 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 fc9a0b8dfe5..338a681756a 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 052cef2c83c..c258af0e54e 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 57e29db6d2c..d534520da54 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 26ce9eaddad..c0ca151ad28 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 e2d95132caa..a1c4915280f 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 ad52b4eaeba..fec356793a6 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 d780af5168f..56667539b6e 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 516e2e50ffb..5ed40768d30 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 152eef455a0..fc8b86346b7 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 484909859a1..c48492b72e8 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 bb482203da2..7c40a5a2d86 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 838623b7ac0..8ba85ca10b3 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 93bde56bfd9..76988f2ee6a 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 ba1d5a6504c..748cf5018aa 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 a5fe5bdbe08..bfd89a0429b 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 3bf92a6ea72..6bad185d787 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 d9557f1f843..20e4ac9f413 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 a64c0e74b43..7ead36cae2a 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 f9ed845ffff..5d9df85c70f 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 45608c749de..2bbe6fbc04a 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 b8a01f0ea0a..f8b4722988f 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 19ef39a966d..dadacc9a9b4 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 7f07927e74d..d40e9067cca 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 ad1b1064441..90be2f9923d 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 36bea1cccff..77dff9a7d31 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 9ac34e7b219..d025c9fa55c 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 361be520e12..ad7be96cce2 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 8fd0ef0584d..71bd35aebb3 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 33c12feaade..cdd632725bc 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 1cb9d8b0383..bfbbe97b7e7 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 a618b7a1d8c..c04db6a5fe0 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 f46dd40bbff..d5e204da7dc 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 a0017db0754..39841fbd341 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 bc392429876..f5295b46d41 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 19b34ebba41..ac8025b71f4 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 7caa3aaeb3b..f3a83c58f1b 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 b405c31901b..b050455f2cd 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 6a419a78536..c363b2927ba 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 70cce395752..2455a76dc4e 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 f9dc3e8700c..97547212585 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 23f38cfc22d..fa245a5a9b4 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 863b0945af3..6fd3a014242 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 e3342b881a4..9dcd0e7b945 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 a007f65959b..7eceed04f16 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 69f6034988b..a5fa5036fc0 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 126cfa0b83b..bc9b29cef80 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 af998417897..20378c87827 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 cc074256c6e..3f2b5c7b1cc 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 65b7476a8ea..408ab6051c3 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 43cf66b1b2e..5297a8eed89 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 bfc4a9932f0..c329b242604 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 d096cadb833..5bb9a579d4f 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 51e81406d4a..1aa62256676 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 c1ec1cd29df..e718067738b 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 3aca03e139f..6493a22101a 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 b71655780bf..bc3397c7f8b 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 e4bb4f99d70..24ebf7e8dc4 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 d9b9820bfff..376f3427cc6 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 9ef8e9e6729..89bc57038c3 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 47a56614d0b..6cc5a140b77 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 3161db7363b..5deb70e1e94 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 4439d4b5f9a..0c9917bc28c 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 fd9d4cbe93f..076073d5a98 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 facbd4349ac..4e917ee83b4 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 1d6b67c5aad..ae9cba3f211 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 544cfc1c5a8..cc59f881272 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 882c9bddd4d..b73d180a765 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 9ef4c1938ee..37f03e6f097 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 5eb1c0a85d1..243b7d4a77c 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 d3467de7b6b..edd02163e39 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 166175ef1ad..322e37ee697 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 6a08d75d6f8..39ab7462ede 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 b37124bb161..e4201bcd59e 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 3d35141aa38..c0da7f5a002 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 dc4b6ab4124..47f3d0a2e6b 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 86ad0585601..b5d9d2b2a63 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 46143b542a2..365573f94b3 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 7846763b546..50ee8181df9 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 98e455b8f86..489bb5b030e 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 f522041547c..6362fa5d70c 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 2d96a629f7d..66481b9b271 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 f21130a4527..71eda95b352 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 45c62bef3dc..5a7e1d0b122 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 0cfa9c807d3..34744ae5f21 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 74b3912f004..7ccc8d751ae 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 1ed3777f0a4..ec1af96c163 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 abe4c374941..7d3a375b46d 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 11dbbb88a74..28f8ecfaf49 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 29bd914ff5d..49289978eab 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 82961a7006d..a5be3ebdd64 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 06fd57fbc49..4a3691aadb2 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 7b45e269f37..833140bb3ea 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 e7956835de6..be63d6ec559 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 e26fd6ac688..94574b90cee 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 c32083c47cc..22fc6b7e061 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 e02c7392bdb..2bce1bac591 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 217d4295034..a1a1a5f584a 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 65f761a04b1..fea2f71c389 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 0d92d2c06f5..be8a580e238 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 8b337ba0f64..5caf1066ead 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 6deece14f77..f795de1d1f5 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 d376e7c1081..921d1f85f21 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 a30f2ccdd65..10ddd2e1d5a 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 3e9d0aca749..4057e56caf3 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 a6119888cfe..33e64d1a0e4 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 c2cedcac416..dcbefd4b6cb 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 50a145ad76a..a32f962cd83 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 95dafe3c98e..3c104396f3e 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 051d4ab4573..7a7a822273d 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 2594fd462d4..f675952c7fb 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 6a8dae735ff..c60e03b1709 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 69b1695908e..12b5891aeab 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 85c1b4a8d52..eaed5f3f0bd 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 8031331f602..371f7bde097 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 ff978ffa83a..a1cd557c4fb 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 b8f6f11d041..aba6c466fad 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 fad8fdf525b..90eb1d21fb3 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 5bd7324db34..fc4b332c1ea 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 8e1ca12383c..88b9eac7c7c 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 8aee0f9fa4d..52c773f64a3 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 e8f1eec0b2a..97df22302a8 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 978155735c3..d2163e48ec9 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 f6cfef3a56b..097672b998d 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 76fe990f261..5806a2ea148 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 458293cc0b0..714939912ae 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 a955fb8821b..604d4dd14d0 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 a37ecb3aef0..594e09a4c30 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 47681add1df..3e87a17635a 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 bf4e4d6ca82..b5b286d7d2d 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 aacca42712a..7acfa45c6fe 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 07fc92de0c6..50a79d7a2e5 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 505f40a8bcb..b518715d231 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 437ff81d5eb..30faeded763 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 3fd44b80283..801f29581b4 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 77f5b175fcf..d396f0cb4ff 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 eb06cfc2af1..1aa5a60dc6b 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 09ff50db81e..668ff62dd9c 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 2aed1b9d927..e47542231f0 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 340f857189e..38ce841cd71 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 854254725ae..a3869f077b2 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 b1b4cd05a5b..4485a20e3fe 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 36e1b92ac22..e261871c1f4 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 07b25906c2f..41e9d1e2d7a 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 9c2f713c052..ca8c5aec304 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 8f5a3eac342..03a2efa9d94 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 7a041789ccf..b720ea351de 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 68f7c26a296..14e43ca3364 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 2f420057888..c131cd89541 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 0d7345e3829..2ab0a2456dc 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 51a550d7fcb..41646949945 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 e7404f56b5b..8b890e24e9e 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 7f6cba36041..2730649852d 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 fbdf56d1dbe..cdd7e3fbb84 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 7e3c9f680d5..cd5a2acd7f1 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 f6bfbf8c3c7..2623642e484 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 33a74795eda..4c01b2ba399 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 9306b1ce660..00bcf6619d6 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 49bfc0a6dab..dd21b8ff90f 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 dddde93eb44..a0941bed45d 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 13567637288..5a4d7e5472a 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 92728220f88..b2aaa45981b 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 a272d15928e..e64f5f0459a 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 97cfe6a8f24..cd5c8d5d7bf 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 aa2b0a3d3f3..30ad10cae0e 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 16a2a737cd0..0eded63f357 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 17e7a917bda..2a4e20a2d4c 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 a348bf79ed5..747c05080d5 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 bf21c266c77..539b8a70fdc 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 ac1eb7c3c00..62fabc1747f 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 46767897ab4..1a98a597289 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 b75ebfc80ce..fac11c00b7d 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 29f60be74b5..3d73a975036 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 12412255f00..6c95fd25bd1 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 35acda806f6..b211ea4bd5e 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 5286a53235c..6fa3582c4cb 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 83a30a2781c..5510674ed7b 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 5609aba2320..0a468aba17f 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 c01924542f5..1b0ef3efc07 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 99a858c59ca..8e17e3c5b5e 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 4867ed5870f..f9d0bb4e376 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 afc92b48f42..9934425d7ca 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 771d87ff958..a9738a15011 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 9f2ff7feae7..80cbe258b21 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 f7ebdf5c7cb..bee0f2d71a0 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 e3bb8fb254c..ad068312112 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 495c1fac171..9c1f97aef12 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 606037c36c5..f9559e48184 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 fa637640653..0abc5157411 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 5f37697912b..d84a69cb20f 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 906111b0067..0d4dc5b2f79 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 9641f12f26f..691894aa1a3 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 626413e6d30..075b797fd02 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 169b9c75592..9ffc89ee315 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 48928bc6803..a0760909797 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 cf9a47cba5f..8fd94c5bce2 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 e8694ea841e..cf2ab8183bf 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 07268fccab3..baaa042034e 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 7ef7354154d..855022a0eae 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 ae5826bf78c..57c21d17e47 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 711d65dacea..d9fb056891c 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 e6a44eb682b..9e0788f1edd 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 fb9bcb20653..47ad65e2c05 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 67be8368152..0f65d6446dd 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 26b6a805a07..e29f4f57527 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 53ea205e943..5ff640c1ab5 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 8ca81cc3374..1fbef1c1289 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 72537ed1bcb..695ca0ac377 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 87d65bc758d..1054a2a18a1 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 97cffc5a03f..1332fd56a0a 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 78993774481..b4514776b27 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 eb6287f6c6f..e3276cb045d 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 c235f26c6e1..c7115a71ae7 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 f957403bc0d..94403d8b3a0 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 ed4f250ac9a..fb933e7c417 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 90f466ba2dd..46759285df6 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 0d903844a5b..86a60b6fdc5 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 e326451834e..1e1cfabaf15 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 567a8268eef..94dded1af6f 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 9d3e3b4049f..4244a275512 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 ea831946ec7..d9fa5f13a70 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 8f84023fe89..b281292a470 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 dd43eba01c3..b646c6032d5 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 c1790b51b10..84fbbd0e463 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 680579bd97b..170d8a9dd10 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 11de533f848..88c586d38ca 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 9be261f0a70..dbfb7c0bca4 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 ac246bf2e41..e0f66103962 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 5d15bb9c1a4..c7fe6030f41 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 2064da6da6f..807b7602876 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 18f34e58714..cb38f965596 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 a267449fcfc..d617e064efa 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 74d23d31194..fe53b0229c7 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 906f331955b..1a26d1c51ef 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 1b9ff32ee52..5e86cb4e4f6 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 f09918f5c28..fcbed17c14d 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 884d741f941..d5b5debf6c1 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 5ea551008d4..cab818e4f0e 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 b7ae538b700..1c22744ee77 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 06b6233bfea..6f875b955a5 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 64bb8014cce..cfb8a1a13f0 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 c6195473337..23bed92800d 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 03666706ee4..101a0e3002b 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 d360666b02c..b8fed92593c 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 4568c3c74e7..21437e7ca47 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 ac6ee0aedaf..fb8a5206663 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 d0bd12b497a..791105d6739 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 2a4ff60c67a..9fb87691dbf 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 621e1e6b299..445c7a8f7a0 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 08a22b11e32..059b481f873 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 557e89710f5..2aa51ca5662 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 3f6a685f124..a42df0176ad 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 d0606782fdf..379e06ed62e 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 bdc5ac8146e..2123c50641e 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 80513d4c5f1..e3ad9ee7590 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 87a787dde2e..f0e54507a17 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 cb8999d9f85..24ba03cfd1d 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 134dbb2ddea..43b281cc6e0 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 da8ab56a433..d160bff6e34 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 da78dbc4f82..efcf8b7b13a 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 8cefc20d2a1..34cdb1a6ab5 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 9f6879ee2c0..b76668b2ace 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 c7bc4e917cc..fb2c5ba9113 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 fb1af9adcff..8a4977c04ac 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 64dde1f5320..a36860350d0 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 86f040a0396..6ac83bc8b6b 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 f412e5d864c..4047026e754 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 4eaa1c9b52b..3b2e3d2c6ab 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 b2549dc89ad..f5de93fd030 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 59dfd86332d..2295a917159 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 8e20c85ba85..627e26ea574 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 b4a7c26bb5d..3fd98722a5e 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 40eeddc90aa..6014ee23f9b 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 9ed28e31cbb..36545c32b88 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 616a791b706..b70d3e9c1f2 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 9b233903798..df306c4c5e8 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 4299efd2b5f..34656a504ed 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 f2b6af98ea2..9b14d809081 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 a0b34c422a2..08b44d27838 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 b7258384360..d78a4a463f5 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 5571f01a5e5..fc531350b66 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 5c66d689c11..df481c6293f 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 68772684529..5223162c5b9 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 f0b4ff2f991..8196a95a02b 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 066342785c5..9b25a8e968a 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 5c106e0545d..0d7e8804082 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 d6a54fd813f..957f7b80706 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 d1dab0ee2de..cd453be7179 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 b89c8cf960f..9349d5f56d5 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 d7235f318f2..ddc95ba338e 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 7917f87d138..b9aebd6b809 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 f6ac6c46303..364ab6670ae 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 e73966f9b33..aef4129c1eb 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 32f8a1a325e..c74eb94e875 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 284b0a12323..ad000759cee 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 12a74d88275..6ab3aade497 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 817599dc11a..c97e3b67ea7 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 7c031ff1c44..0bc7b9e6475 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 afefc5ca4fd..d1df4f955a5 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 1e65a13fea4..acc07fc9d00 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 618a99c62e5..9bd81d89c76 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 f9308ea881d..ba4eb3cef00 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 d0dd8c7a79b..d723cd629df 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 242669876d6..3106c4b85b2 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 a89b6304b2c..792a78427d7 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 7d4af33d23c..c492f72deb9 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 939e070b5a3..db7291d5daa 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 94e930865ca..bc6bf817d76 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 3b637d6bebf..1ea504909be 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 90dd4b50742..32efccd956f 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 580e55456c5..f1c1eae03df 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 7e2ff5e4da9..94fe3716f32 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 d0a044e9a23..d8427f86b31 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 7cd3b33d017..01a93be6166 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 ad476fea15a..d3a8ad11b04 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 647c7cd7469..bf8b995b97d 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 00b95e3fed7..0728b7fa16c 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 eba44ce6418..9f236580e12 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 6a35b11f684..3ada56396f7 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 ae292769bf8..f096e49ea23 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 1879c6a912f..f7410f28811 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 321c543b89f..3fd07c0a314 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 bf92ecc451c..2cff1b6f2ea 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 fb35b1c6adb..de4f93ee3c4 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 64b8944b6e2..63c397f4f9c 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 792dd9d7ed0..076e910da12 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 80c7bf2faa5..608eccba5ed 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 940997edc27..7f64ce2802c 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 1a069429114..61aa61c55b8 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 fe40a4f28be..677483e2219 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 e502bcb1f80..099687d2f2d 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 b0236383599..f775beafc38 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 56b3ef5943f..44fab54fa26 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 59fe2f147a6..c028e23f598 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 b059d015e27..21694889cb7 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 3a56a3b5df7..07787b7140c 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 13f6ac17f8c..7d849d939aa 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 7b689c413a0..0e19e264f0b 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 d8454965f88..2bc7f196e15 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 ee77aa693c1..a851fa2bff6 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 79f44752fd8..6dcb9232943 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 c3a1a5a01d1..293f935ecbb 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 a5f94c3ef5f..f5629cbe0fe 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 6970f885f5a..50955c0aa1c 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 56dd052a60f..c8a55a7e0f1 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 694ca8eaa4b..db37f64123b 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 4f4d3000f3e..b3d460e460d 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 c0e8ab7fa10..c3b4a38ac37 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 14335a01dcf..2994e0f9bb3 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 09e65b7b0d0..42fbbfe1d15 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 53ea507ddee..42d66d025d6 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 9b4d6b2c6b1..da0d478d7b1 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 5a7cfb2f17b..26567b8117b 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 6380924a0af..352729f50ec 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 0f6e27d9f65..cbbf9c6c4c8 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 aa80846e0b0..80d759dd295 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 895b7009aec..a571d6501a5 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 be36a9d0e7d..8ced073e1e1 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 757eb11667f..49ed3ccb8d2 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 136e37c5bbc..ee31a12dddd 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 51f6b5f7539..eb2be90fefe 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 68e6e87a6f2..f7126a6e477 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 241ea37e0c6..f9bfe8a7f23 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 17ed7f00ae8..cef4b24a52a 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 85dddcf6edd..97384183e5d 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 1d27fcf1fa3..b317131c350 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 1cf5bb4a2b7..d900588e13a 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 81660ec429e..442029a2710 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 fae3a57a09e..bc3696830c9 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 5c6a509e3c9..7d9a678ef20 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 65e01848587..853f61c6ced 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 6b7893b3340..6043acf6f49 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 53155a34060..9ba0de9ebfe 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 3d3f1f19dc3..b4edcacf8db 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 f813edf229e..cd4e802e8d7 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 952bf7c9fc5..6f0751b8ce8 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 d4ee9e84c36..930f59df369 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 376ed3767d6..54658a746f0 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 9ed0e85b4b2..e8734ffd8bd 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 583f120e132..8be7587b7d8 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 618471bff99..557e4c6aae1 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 7feb4d08b1b..12f50580377 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 bac897144b0..406dd903b2b 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 4a69bd7020d..5a5c0087cfc 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 f25bbcba665..5f175853b29 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 04c11d57c02..1e5468e4529 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 0775e54d71c..7d49c66f0f1 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 4a61a884ed5..ca0f0d8fe35 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 218a8526564..e3c66cf8231 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 561c0679083..5b367e37b0f 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 6a2677fe6f3..7b1215c13e8 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 f83f72793b8..302e7019348 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 646edffa5d1..cd71b37d32e 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 40953acfb1a..830e99b3b67 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 3b17af8ecc4..b711df2c7c7 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 66d6148209f..1652f7e4333 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 f0fad90e4fc..e8cc96997ee 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 2f0ff2613ad..ab0f3cc59d6 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 909468a730e..e7910ad9b32 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 ca9b3839445..8ac4d73aa13 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 f378b7d1bc2..3565102e382 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 420b4b6c08d..dbc71d4f499 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 218c43ec85c..45c18535694 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 00deac6bad6..9d5497ca04e 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 91a8543f2e6..de07bd20d6b 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 3bd23ee539f..5b1bcf2dd2e 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 5e3550f429b..dc37f02b7b5 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 23e2179238b..5cbc28d7e60 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 ac63684aafd..c4252095799 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 e297906055d..1811b6b2603 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 ffde0386788..602222a2daa 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 bc23f454679..79c6cf56aeb 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 acb81726f18..b60b2f025bd 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 b727391499d..7450ed538bd 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 b07220abae5..d8832f0afff 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 6c35a4b490f..f09988e968c 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 6743f74b109..3d5111dcc94 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 7aa7bdc0dbe..111ec4d8d45 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 889d8d944c3..5e6d60c4f9f 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 ef537963e74..0bf6d606c6c 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 380e80d3991..f93e1330b68 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 9c9eeb42d4a..7eed183573f 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 ff8c888051c..4527ded491c 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 d07c425e8b1..991b5544979 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 3cbea813a20..82d113119e9 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 951e31bff4d..fc12a1a93ad 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 48e2a70bac7..22b7226f98b 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 b2ba7d81717..81fb357988a 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 021abafca96..6b0473e7697 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 8309ad7880a..40b521f1f1f 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 ef23cc5f598..f76790efee4 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 5ad24eb5e77..14eef97303b 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 4ca0b235d73..d514bb22bf6 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 04a552aa876..1ef155da0da 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 b95f817e530..647ffe11996 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 74f845f30cf..d9fbecf8a82 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 98cc34b1f48..0bd979e2f13 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 45b4b33017a..06d6b4249a9 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 3a5cf29e17a..70428624fab 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 352016e77b3..eabd8e2c2b7 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 32663e931c3..d84e594292c 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 a0f8946d57f..06a1a1e1d2d 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 94715358d40..b5f5440118c 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 0f4a00353be..2d7ec55fd7a 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 1790b1de428..07bcb029fe9 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 2d39f05bdf5..bb67ee9a90f 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 7e1dae62106..63b4fdaa4ac 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 ddffc945314..a0f4359ee9a 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 0a4eb9823dc..c647a127cf1 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 d31dafabff9..cc2976a8a7b 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 c2c7ccc37f9..ff51cc84ad1 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 ef757640f1b..220a3f0aa82 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 4289cc80fe4..f6c2dd79367 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 cd255ae62d6..af5d7686b48 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 64b85f8d446..6d4c0efd604 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 d49059602c2..35f4adfcac7 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 eb1704b79bd..fb8d155c6ef 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 a0121326812..356ba1dcdb8 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 bd99569d5e8..f20cd13c914 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 de9707221b5..198df8f3db7 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 ef9de2ab720..2af7b9fa1d7 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 9056d58b583..b7720c714cd 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 a356ee219a2..21bf1d0dcf8 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 8194b25d094..b8914106256 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 0e57175efcb..7b419123c4e 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 5041bdc1a37..110a7b8e42f 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 ab16b92cd8c..6ded3b51acf 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 0b168331167..38e69dea44b 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 d92ebde5b8b..2b1b226e9ca 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 e27ddcd56e4..487b2d554a8 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 c6031ef4c5a..6bc57e3f55d 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 bb901fe865c..0868aca2579 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 6dff1931aac..0a807fa947b 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 98ef02273e7..cdc87737c9b 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 f0b5bdf1444..238addece78 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 b3fcf611d8c..7e008b80319 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 538f23f6bc5..47f43ba4ab3 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 e4361c186f4..e14a401d40f 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 ccefd7fbc2f..cfb34a5c588 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 239b6243582..70f2e9fb38e 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 260c67cf577..ca1bd2201b5 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 31c1f0852de..feda5356bdb 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 ca5c94858fc..c35d7b13643 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 b8d6e35cd85..246b14581a5 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 1c59f39cce5..3aefad6a1f9 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 690dc3f977e..cdc9a5e76fa 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 2a93c9e2c58..98031cf8e46 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 523df51cced..fc321a0c86b 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 cc7db0b3eee..b88a09ecd16 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 1f0864cef38..d3662a1203e 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 fb6f08945bb..758487a4f4d 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 bb5eb943685..79913012ea1 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 3b60397b7e1..6235aa664ae 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 dce6c9558eb..2a06daf07be 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 fa36c720a90..105902ec121 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 6cc7aa800dd..bc8a4e8b8d9 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 75f86b4bd92..0bf0eb8e63d 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 d4f96eba402..2cff7d6c35c 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 abb79bd1f24..5c6eeaa568a 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 c5f0d714a87..c4b29a0b742 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 3e1cfb52fee..e8f66dcd679 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 3276b05012d..1d39afa8c5c 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 13ae0b616ac..ae35f50c71d 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 a0652a99c0e..410b77e1748 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 2f5be02d09b..80c984113a5 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 271d0ee69f9..f9742c43de1 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 2676652c0db..86a15d1869a 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 6c25395f2cc..61896280220 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 673741e99ba..597181be9e3 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 c3e874c675c..1a959288915 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 1f0fc2b7f4a..8f44dd1c348 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 ff55e7be3ce..2e848617c69 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 f57cc900b94..d91c7c41109 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 22b16e123b9..b551c6d0017 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 f8779774a85..87d2e74fe1e 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 99e03f849c9..3b40bbc434d 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 e3e891fbf5b..ed3debaebfb 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 c16e941dd32..1b2a7aba864 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 c8a8963a27e..53da97e27cf 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 df30b9543be..c8f6f2d9b94 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 8ccb86a677c..72c25c6b3c6 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 db385f9b8e2..1903673ae2a 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 30c497deef8..bd221cb6cdc 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 5070094f42f..fcbab056bc4 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 c1adb1d56fb..ee7584d5311 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 454ec258dba..b599f7f54ad 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 deb640ef140..06b9b64d276 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 c8bb2e597a0..86bc3d68d88 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 25d047bb368..a3c89cc95bb 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 a9948c499aa..1ba02afede4 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 239327303b9..2fafb8dab75 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 0db84d6d52c..4e4fb56f224 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 c91d4ee9561..1d87a657966 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 92a7e2b853f..f23a5efc66f 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 1628abc3d03..edb71efc14f 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 b71b7428d92..ee8f0e6da1c 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 d66fac13666..95842d08b3b 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 43c54592186..59f38f840b6 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 ea603015580..18e7230ab37 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 5dcd78e860f..1d5a55257bd 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 4865a5ce068..3e86068eb69 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 96e10182769..3a604866f90 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 fa8a60aa746..a94b7112fa3 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 858fda93855..3fa7c1718b9 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 11220294ced..716ef013f7e 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 d34ba8f7d5d..45b6b4387c9 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 a14101d4d39..f9e12bbda56 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 edb275d11bd..dfd9b8f08a3 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 901a17e6607..ef09a84c6ee 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 242797ba8e6..e82ede8b822 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 fda53ed3896..0277493accf 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 419adbd39ec..519e0203d38 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 5a5031b0c3d..cc29a8098d5 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 b419cf99903..9f43ff65276 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 fb068a9b361..6b84bba00d5 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 b7e8e7f6b69..e1c6d963b58 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 20a292e271a..e53408a2995 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 1d19b3f0fd8..82946846b4c 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 683a61bf3cd..b22ba96d024 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 50ea886779e..1d45264b0cd 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 ac004cabc88..7ed7b1bdb8f 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 c7ba1ec1e14..dcab087b0ed 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 45410eda94f..74e3e22452e 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 337932848d2..009d2a74239 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 24abe506333..43f7563d245 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 46a37144e27..b8d4cab8cf7 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 12649952d07..7308e3ee2ea 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 70a1a98044d..3d9cefb873b 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 04e10b7e77a..09106e6b7f2 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 ba2cdcd2b3f..6d4cfe932e8 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 ee663ab0163..3036e8bf612 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 f4f030de9a3..3aa12cc2d9d 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 937f605a067..224febe7d89 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 36433f88721..4d6104ea217 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 567b4037602..56a800001ce 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 352d94c4d45..229db891684 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 07f8bfe278a..f1b80aaccc2 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 6f7ac5b7847..c53acdac332 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 caade525fd3..f97496a5607 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 cfef0e507b3..cca3326204d 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 c0fd83d3cd3..b91dfcd2b56 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 5f4f5909ffa..a0339570a06 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 7491fe05eb2..32a20c2d20f 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 e8cf877f08b..921f8a80a80 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 fbe4baae887..7f0b820775d 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 d8fd2db8a5c..6ef7dc515b2 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 258df0a5735..8bcec7db48c 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 629f698012e..87c3d927190 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 332d5dcc25b..12a83bd704b 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 edf2781aad1..00438ec4f27 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 7960042c52b..26ead881128 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 1e9f617bc5d..a73d7ee1c69 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 06037f6d5ec..928c88cd9a9 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 b5b076f9238..9e8507203b4 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 24b220b67fc..f3a6514ae88 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 54c53beff4f..57eca00e4de 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 ca150910c03..507ac30dc43 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 da3198a03ba..762e9514c08 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 d6d87fd1489..b52928776bb 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 6197ff23416..df08ca80101 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 9da3082bb98..7aa53440513 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 cd2fdb565aa..7ee5e5f8299 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 8e2ac16c1ce..5afca12a564 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 c3ab7e45f9b..e33c6207afe 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 c22f3cec0b1..95fa8e8d0c5 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 0538d06586c..6c2e6421970 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 75eea1b8e35..58ab4a06467 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 0b11391a713..8ea1d1b3eef 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 f4974e0ee71..feb7abbd970 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 0e13dd03bd7..4b8fe80fca0 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 ace58c32e5f..18561d3e32b 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 7481885d106..f00bff7a88a 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 21e372967e5..85ee17c13b3 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 4f6a0c90e59..ffd1753fd1b 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 88742d86951..f6497a42a52 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 f7be2d3743a..3c703dbc22e 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 7664264d7ab..a9f091db2b3 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 fb47000e543..3c963d1b66f 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 9895e0f9b2d..dacd829423e 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 f5a25ec920f..6e78b1acd24 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 d3d981d3d7c..7b005d9c0b5 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 38b630edbf6..7166cf21764 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 d1634e89102..12acdd82997 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 00337475dfe..04742a6f735 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 50d26f79f2f..c440fe3d00b 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 1317d02aa07..d67d85d871c 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 e23bb6b610c..3feb7ea3606 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 67ef8d20c8f..f382cbcc573 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 920719fd267..36785f422e7 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 4353435b399..9f80d5395b3 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 b00a868aba5..7bc0cf1b9f7 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 8eb3c28b1fe..6b202453fc3 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 f07a6e4fb7e..7c5fb6d983e 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 9aea68fa929..fb909400e90 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 4bf29b5db15..f52463b2c17 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 329fb5ffbeb..7a5fafd0a70 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 5561c248b62..dd4eb5f8865 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 21caa4c76de..662e6b3b3fa 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 ffb0e417c0b..12563b4cfe3 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 a235910301e..4b360abf455 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 9eff769380a..c4017781877 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 b8800c24805..ee0a8de6b18 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 6b12a21bf22..bd2d3401aed 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 fa9eb8f5f78..aa6670186d4 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 3f77d247fc2..5f437b4e23f 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 2c5d2bf7da2..7c1e8a1c09f 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 d7cd74ac86c..57c4357c7bc 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 70040931f13..70c4063fb77 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 005fe69c65c..e9bd00f923e 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 8d8679fa52c..870fbaacdf1 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 07541d85916..607a9e40a98 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 d67bf05b874..9e68cc36e10 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 c987ecb756f..c3d43831907 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 0628dfe44ac..19fb64a537d 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 16958458bf3..328ebca8292 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 234a273a4a9..493d5182a8b 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 9d71763bf2e..54a3b903dc1 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 8187c4af68a..e8508c26a8d 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 d9085376c79..b919ec986e5 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 ca058e0c5cc..2a8bd9a4e3d 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 3ea23fcabc5..a45c3a788f6 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 5eb4505ce7b..218268794e4 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 90552262cb4..67919039c02 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 78d5b5ca0ff..33b8dac57ce 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 fb9b2f3bea4..062f8a5b102 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 06cfbb4a638..6489af91f43 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 d13c5900b49..28230279e73 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 19067c62ce6..6f131317d9d 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 e72745c475a..00c61cab555 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 de049b5d53d..9074d4cd716 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 a3b7d95df98..590879371ad 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 7f3f8fda35d..1f4639dcf47 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 469add0cd7d..79dcae8a4e0 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 9c8c23f4d84..a8802e493a5 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 01be74e304a..a48d3502eab 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 cd046ad5fdc..b2c4c0e5646 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 525a2f8da3a..d0eb9305edc 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 c0328425e1a..d5da21cb932 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 d0224f75c21..a6ba5178f08 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 5d53917f72d..1d22947b1f3 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 bb9d4dcfb4b..3bcbcb5584b 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 7d574e64f4f..23cc8f23d2a 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 5c6fe9e7463..ecc1a918723 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 2857388741e..ee76b9b3c98 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 8ace687b978..a14b38e00c2 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 f9c42a90bf1..d7c0fee27d5 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 d70a7cbc61e..428d7fba302 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 3d693fe5ddf..fe06af320c1 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 b7d9ec6d4f9..5f09a8a325b 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 1aadd784b77..822ec62125e 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 6d1946d88e8..7177ca1a0d6 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 9f5844527e2..c53fa88ff3d 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 a39545d533e..31b5724e053 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 a819fdb16bf..affa5957732 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 f8c045e4483..582045c3ba7 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 d04cd8c9d51..39247ca0dfe 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 b4b0db9a02e..509d274b1ca 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 841209edee0..416ef01dcf3 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 b390f1f886a..566d6a03077 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 76a325f92d5..b357311807c 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 b8cc62d9763..6daf0e3097a 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 d441ea1f6e6..4ac87b997b8 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 2d1a4b85320..416d8df771e 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 9f28c94f22d..dcc077435d6 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 afd769bc94a..24ac7e03322 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 716cb20639c..95081cb3e4e 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 7a00646fb17..993f603969f 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 0be69a374b1..ac284c0da58 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 ab415908b03..a35c7dd1350 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 b9e8c0f5e6e..2b2d2c3cc50 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 1fd97f6e69c..83b2ab82825 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 75baa3b9c44..dd6f1f041a2 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 a60d1e7e2af..c9975093bb9 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 3b29b0c2526..49dabca13ee 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 78d9852cce8..00ab658a8ef 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 bbb228bb818..d032153bc5b 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 ec10922703a..e528c411320 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 f55479101fd..3b42b107188 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 78235c2698b..368b2235d09 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 d483f16f61e..52521baaa32 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 fb36f7e90e3..c104fa799b3 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 4f2ce7ef647..7debbcc7bdb 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 b5267a49535..7fe4659640f 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 51ba8b89656..bb0af3602de 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 600c3bebc9c..49a13adeccc 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 3be726534e6..a954b44d696 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 dc0d33bb6f1..046ef1dabdb 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 beea3a9f5f3..a71caa2c11c 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 982de5a7989..b803f9a8a0b 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 9026b492b60..d8a83c778df 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 ed0cba7e7d9..75bc9bec984 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 b8fce142755..f7b1e4362a4 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 96e51500b53..4e7589a7e48 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 3422249c32f..6aaaa4a2f47 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 f6f7795f59f..15bb2c3e381 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 3ba57317369..159450e7a72 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 db114cfb4de..c7d188a95ed 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 a5ad51aef1a..10aec512d1c 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 81f2a0ad121..82e3a9d1683 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 d70b0488cee..da7df0b2247 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 218d285f7d1..6b8cfd3cfcc 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 29cafd8bc66..73a2cd056d5 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 75e04e7dbb4..b3a5cd9fc62 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 e3c5695d688..2b81d0385c1 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 8ca6cc30981..70c204cf27c 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 6bf7f70cda5..70497a2743b 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 4d2989fa018..74a4f570393 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 938bbb12ca7..4673a5b5b08 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 eda27c35695..5ef8989a9ed 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 2a8ed4164dd..0207a5290ed 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 12ddbe7d0aa..cf22cb2ba7b 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 c8d9f7a6621..510e80a25a5 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 c22b5b4026a..c2410b5d57f 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 3cd67ba096d..35d0295a364 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 4a700bdab65..abb25399a41 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 07bfb49f976..cbd3530ff83 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 14c1c8ed5e7..d38c93abfec 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 85f4420f1a1..fe9d120f5cc 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 6b8fb6d4c10..040eedcc990 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 612e1b630f2..672a628edf8 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 9d0f973d37e..6742be6795d 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 aef867c68e8..1d19d684eb5 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 b405c69b006..5fdea40afbe 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 0962ed7ccda..d06ea7f5ac1 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 ce83283a008..50db5302a23 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 5db36819628..477558e6f00 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 af3d7737bfb..6c6c047e477 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 f578962502f..b34d1e52ab3 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 38f45a37793..e3e855c03d3 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 3db7d045361..2cbe99f6874 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 a4828811a14..28ba03d0ea4 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 f94ac1af22f..de353009bb8 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 47d5c305184..e1cdcf5be34 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 8459f757356..4df47e5de50 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 fdc8093b15d..df1e8f1c739 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 2f41802e684..c1b933a8a0c 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 0f486013188..66758834fdf 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 c474575057a..627bc5e0c26 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 e88281231f9..8bd24424774 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 dbc82ff1681..49375181032 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 86af6b0b34f..d3ea59b2266 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 d933302fee9..1bcbade7af4 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 6889da95c42..9a0f94cabcd 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 e4c7eac4782..df6fa5c20f3 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 d58b94abbdc..697c2b1be48 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 cb3821b8cae..51547d4f4ec 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 9cec3e49c3b..c32eb5db4c2 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 9c9ff0f1ac3..1b75b7f4618 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 ab8c787ca92..ce15fcb54bb 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 a1b37b29029..d6a403e9e6a 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 c6e9a4a5c1c..d373f697ba6 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 cb9e4d01c71..07b9709884f 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 c4161389947..58c663cf15c 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 f38000dbd56..99912e513c9 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 1385725e483..6365bcbe3a7 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 08e7aac2b1d..15fe97e5c67 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 ffb694ab5fe..06222ce1f58 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 abe7d2ea2a5..5638792f6f3 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 49b034f04f7..defabc139fa 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 f1b44c696cf..c0ec96c7d98 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 ea3a5ed0d9a..f4c36f069ac 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 8920dab2f8c..9d98d693d88 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 0d6f89f53d4..e3dee3c485b 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 fcfbf92ce7b..acbaa642f86 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 5d33434c813..162b23e84ec 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 f342491c66e..73b0abcb508 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 45c28e93ff6..cb9b9baba55 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 c87ed133c40..b02fd9d3a18 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 1779ab85a84..9ea1d1491af 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 4f9140e3358..e18b33362ff 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 fd44219ed5e..4f75939fae0 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 d546f31bcec..f745123ab9d 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 d9766c48832..b992f93e3ac 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 8844e322d84..d44b6bf7b8f 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 3707821cb58..8c6853c873c 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 3d3150370ba..0e014124ba1 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 380ac306e66..e9565f60b1a 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 6fbc4ece1ef..5dafed6bfd3 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 be6ddd12d23..49a06b3e118 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 1d9bcfeed9a..15d59c671df 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 e12c6949c82..5a8e5594202 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 ed38cfde7c1..c69442bb1ce 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 05bacbe1247..2b9509eacfd 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 2989b7996cf..86edf7e7854 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 f5a0a855d91..e890e1f103c 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 970240cc0d2..1ca5799ee82 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 1ff5134ae2d..6f499c1a536 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 8bd658892eb..80c58317a96 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 7ad2e2f67c3..39859897813 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 90a5f4e5afc..e85f59ec142 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 2fe1eb237c8..5dcfa44cbf5 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 203767e0b48..a384cb349d2 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 07572cebf7b..acc04a7d4dc 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 84a3d14e7f9..1b648909d4d 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 ddbca71f73b..4a7fcbdac1c 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 45f493838a4..8aefa44e536 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 ab63ff21a88..f4f25608d9a 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 e235aec6c7c..5c354d07a70 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 d7936971b0d..0454c56d4cd 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 ab4de204c5f..dfa5a062d16 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 6e4db1cdabb..fc79e33b999 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 df43c9164fc..b861627d930 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 1be538805f3..61c9de735e2 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 03bd22ea46b..10aa6611eaa 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 76f86104931..1127ee48e58 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 ec949a1284b..7335e23f14a 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 bb968fe85bb..25e22fa7ca3 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 7922311c61b..3f473008ce1 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 782c909a348..91795f61f26 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 91ea94de596..72bf0451423 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 e1079f3a358..798c7c629ae 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 8fc9229cfd7..23b404bcdfa 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 5612169fd06..96b8ce8e122 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 73d47c7e475..275f8496f7c 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 ed5f24b6ba3..dd9001c2dad 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 06fe2f1cdff..ec3d1e89cfb 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 a04f7e183ce..6cecfae0611 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 73ccb3f21f7..c39b6fed53f 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 b886bf72cc1..012f8b49b14 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 2b8e1a9175a..228c1c3d15b 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 f4b31a3bfd1..aa91a874e34 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 7dc1cc167d2..55c00b89686 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 1c896d03204..0047cff7bc5 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 517937439a2..56945269300 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 ad1b9001e99..e897e2ca6a9 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 4352e9bdb72..1b27f181d65 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 40abeb550bf..ceceeb9abc3 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 a2dabb3397a..6abbfe0298f 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 ccd4aaaf523..dd3d1d1c83d 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 74b6f6deac4..3f68f71bc59 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 ee0cd1255b4..d7a8a163325 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 18696930895..ea34aac138b 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 ae3ee495066..b639f04d976 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 e5e7a512a27..e8356ee2209 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 e13e23988a4..114b2d85956 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 0878a082586..40940691a9f 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 53e13ecda2e..91aff1787a5 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 af903cff17c..4eee7944fc2 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 1a884c6cb5d..24f64add196 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 4a0e90cd75e..6a9a3714bfc 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 f2a50c60144..83315c554c7 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 818be550cd1..f96b61c5fcd 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 c61cafc25e3..152aa5b4b61 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 a8b6a83b23b..78abb6aba6b 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 e172ba4d9fd..446dd916739 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 93bda18fe6d..e2123566749 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 4d592762108..a87aaa6e811 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 beb31a7e01a..fc5f64da141 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 46c41817fbb..e03df7a8ae7 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 80d8021afc7..1764b4361e1 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 d532f65a1a2..6d2b3c8bc37 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 76add625b49..7ec517b39e1 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 051bd3478d0..9d97813659f 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 633593f4b89..d6328dce233 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 f1d7f080c98..922f58b13f8 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 d6f5e2c5a91..96810314e1c 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 bfd62a6be88..3e36411aa85 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 0173067362b..51e67b7e303 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 5c582772a9a..33435712b8e 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 d693a2bcc4f..e3a36d8b3d2 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 82b6d70977a..31054d7d8a3 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 59687326a04..86fa74f0316 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 f32d825c57c..57b23990aaf 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 8525712c5bd..ad8322bb0a2 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 fc7fd410434..309760a897b 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 b085d8e844c..307e26043fe 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 e02146cc297..5fa47a4961d 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 ab7cb48ba68..98359ca42f3 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 5116ea4da34..ed65bab8edd 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 7a1a8b10089..72882f5e520 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 90e2145b889..1a10606b9ce 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 25c8f3baecb..0f850e94895 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 060f6957da8..e2040de36ce 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 cf580272264..b12c4ecf298 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 da1fd3338f1..0246070d132 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 8a5e8e124e7..7e89824e62c 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 29e8e076413..d82251df7a2 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 b364aa707dd..a1c857a9a4c 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 299f892f5af..980a29132c4 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 e75353e378b..f121e640f46 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 ba0ce9cae08..78b8a59b1a9 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 c7557170969..beeed588e07 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 28d81571672..25d35140e08 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 9513c8e7004..8131f348b8c 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 48326cefb04..95a5d1b3797 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 fd3aa85000f..a79a1363a4e 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 c87afb1f2a3..4fa8f8b025e 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 5226570b0ea..d775f1e1322 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 486cf21a0e4..41891b666d2 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 21207679941..053e77bf0d7 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 8955b6abb79..e59cbb14957 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 139078e1c4f..896a85d3a62 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 ab82df0124b..80785e19dd0 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 fa4c373d14f..04a4c4184a5 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 9339c233eb8..f3b58f94672 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 13c61009887..e0b85e807c2 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 757d4a2fdee..d251b9a4b44 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 d044f8b7754..4463734efb7 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 3860f59b7b9..d739ad87e64 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 fa657f2a51f..ae421e1dda9 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 64bc912903a..3e244375f22 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 55eae44c082..f77017abc35 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 a49c62e4aaf..410a9537366 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 8e746c9643a..691ccc83724 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 20a0f5a05a2..588272a511f 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 966e61d909f..c9507330bb4 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 60089dafed1..dcf259e5cdb 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 10a224283cb..c35d5e6d7e5 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 d2619c0ada2..0211e4ea8b5 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 968310e43f4..d4356e15aec 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 2a36885cfab..43911d0280e 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 def5eb75ee1..2dc46351a6e 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 88f083b8fa8..0f354c4a539 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 e3ed6347d62..5197ec1f0cb 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 7e734421fbd..995b1b770c1 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 28cf0c54401..a54714c6599 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 1f43e8f74aa..cb7010f047e 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 567a54820ad..2fe466d4b37 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 2ea6f8fd095..cbc3ed4f6df 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 d8f1ace0441..caee7b54bb8 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 e47a37bb520..f72f01530ae 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 75c32026ec9..872d4dec216 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 1b666eb7e8b..6d885849531 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 17788f37b5e..63b063db456 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 1c43cf96130..7b66a89df4d 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 8c922c00103..426dbcd4d6d 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 04acb7e657d..92e8f65352d 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 600c19e105a..a58914167f5 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 5e8fdebc718..352347b9528 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 9513e6263d3..ec05653542c 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 38db042be57..3488d27f677 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 9ae13023fd6..f2550cd6ac3 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 4960ea5fd88..625e98bd545 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 de6a4129642..3ded4bf4931 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 a500a6e3dea..a8ceed74a38 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 688215135a1..fab0daf346f 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 8ddcdde135d..c19db0ab2bd 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 a981cb0079e..261115c2a5f 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 2497784d634..48b83deb3eb 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 904ef8af552..fd588a5828d 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 36c6c0c012f..3aba916cc31 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 76cd03aed86..90874b9ed47 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 82de524c525..1a7fe9f4240 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 ebf2cc36034..4ec597ad90b 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 6039feebdde..6252837b1bd 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 74a55ae5093..d968830a569 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 94c69e2eb54..cd4e477e1e6 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 fb62704c8e2..4c7c433e209 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 934bb223090..c0ed9372e5b 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 4be11fdae89..b3c37822142 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 059b7a76601..c3962dc0f65 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 ee93089bd6e..5e7715480b5 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 f6c120268de..45c4b304a3d 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 1cc5e0a20a5..785e9388e1e 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 88e8fb356f5..004fa415df1 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 f53c68cbb80..6da6b515a1a 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 c195d4504d4..b496e41d322 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 0c91c05f9f7..c98027cf238 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 d3343d5d1be..a05cc22a027 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 43e10469216..d0d40567792 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 ecf14c8aa22..5b46c61b8ea 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 de744aaa904..91dcc6c6be4 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 40bc7b305e2..373c52852dc 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 494e96bd979..ac449c80ff3 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 199269764a1..00ef6bad768 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 d1527ad2c62..e20eee62b36 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 26366dcb244..b53d8c2d7a8 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 45207244a7c..ae85811bfd7 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 898dda3dc33..1cfde2fea2d 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 634ee0554ff..1abdb0c4a2a 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 900648ac2b1..09aa3bde1fa 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 9d68a945ea4..b4376be0724 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 682a1323032..aa4d6484b33 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 35747c76350..1655fec1197 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 e56c1f14881..26dec1b1435 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 ca7ec9c6729..e947f4aa682 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 a0bad6f346c..65fc6d42014 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 5b8af41c162..1ca789593b7 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 13b8aec0fc2..6eac627b410 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 e109232eda5..ed871db41d8 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 bca68b8073b..7f01c29cba6 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 0bbb3351d36..61c63fdd304 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 5b07d3f418a..51d11ee8578 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 3648dc60442..e0ce80c941a 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 223648fa84f..d98fd8a9045 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 a47dc091209..732259ba062 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 477186aaee3..e73d5daaa9c 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 093148b59c5..327eaf6cc6d 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 c8aac625ff7..4813871be50 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 e2c7b79b7c9..7c312b99059 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 6043abf5472..94070cf5e6a 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 a9456a92d70..7d0c94df167 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 aa5054843fe..836aa177689 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 a78628d1d33..43004ba92d5 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 c9c2cb14299..767921ee4cc 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 3bc31cb08a5..25986de4cd2 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 e4edd4d7683..185f16ec9e1 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 043250c0b42..afb4b1423ca 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 062dc1c91d2..e5ec0414411 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 330de9dd3cc..b0a0dcdfd28 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 36419a77a66..cab6c6e88ae 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 3df2ef4c31e..e0a1cd95079 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 fcfd53c79a1..9d6ec463119 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 ed4103c3df8..df3f9636543 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 56b7b7727c2..81d29960e22 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 725df139664..0d7da72061d 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 b12f52234e7..bc6fbabc58f 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 80e855d986e..368ef65783e 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 c9dcc1236e4..0f3b690d84a 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 3f9ab76d54d..5f12a6ce6be 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 1ecf2a41cb9..0f1a9c6f664 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 b7970e53a2d..e60f2ab0241 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 c3caea1161c..65e474473b0 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 390b9756ab3..254c9ebd184 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 8e7fbd00d2e..5f64905b670 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 fc8c3e3ea2a..e1c189e2f8e 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 a52870988ba..7f7e3180503 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 11e8283334b..b25967c2a7b 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 9bb59537897..477ca7b1495 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 7fa442672bb..061536f8f67 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 8a127b811cb..fd3e3306e8f 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 4065c84f4a3..80c75ade47b 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 2446d90f5c1..73f77f61ac6 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 4c2ba54f720..02d95e48aba 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 b301f5f14a5..1249b47ce07 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 0d7ab4784ce..ac54e0d4161 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 cda8cfa5aeb..8639ee448cd 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 eb8da479102..2ede8aec7fe 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 b70c97d4c1b..edd7a57a01f 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 1e44c2ba8be..4d4ce62d9b9 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 6b649dbaaa9..4b54c7a8fd2 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 27f12caddff..b1d6fb9b7eb 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 0dc4cdb32c6..9171a34c196 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 f86ed1c0859..dc4cc01b62a 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 a81e1ed2b0e..2d1e58ab8c3 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 a3472324d8f..ac7f86db57f 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 1360845aa91..ad820bfccd7 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 234d1e5a685..60764afa0b5 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 24cfaf988c0..b9135b329a1 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 dd12fb698d3..1287b5f8bce 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 ca2d54779c1..c79c0dddf9e 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 4ad0034a5a3..0c3b834ef75 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 0ba66e8bb1e..7611aaa2b6f 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 ebd7693a391..c5bfbd540ec 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 8609b0aa748..e95e8249620 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 0533abdd328..2dd4cb993b9 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 f1d6682466c..3aea8377179 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 c3952e56741..fc22c0ec956 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 bb8f3fadb20..5bd03b485a3 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 80b66df9eb6..98e18a5bdb6 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 882ebc296ec..6c7e9c88660 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 e0462330856..8ed3f6338e5 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 8eddf209d51..a679c2d0cd0 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 c31171c28d6..632964a570d 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 7b4201e65c6..f400bf90cf6 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 85b4f919971..7a7e32255aa 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 93fd215dc4e..fba0b9e6560 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 5c75cb84e1c..80776b50e9e 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 d827dffd083..d12d6aafd25 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 0d92301a782..2bf797b188a 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 b0d97f93497..33b0cd37f38 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 00a9ebb22be..80a7169d50d 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 b14c3bab2c4..fd8e84c0cbd 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 f617bf937f8..68f4ad7030f 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 0266128bef6..1fde203bfbb 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 35da1014092..e4998593d12 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 6cdf8bb853b..efab3f9af46 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 8e345e134f3..078f2ec6073 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 779ea3579b2..35cc4fd4011 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 72abf5ce80a..2b93cfcef84 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 4b12e59f1f1..5d6bc77f155 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 0c3aeb44f7f..85ed768e75c 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 169ff25e635..84606e0411f 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 cf1caac7821..903050b8b88 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 c9596b1e4b1..db9517fba8b 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 7e6c5bf0fe4..b1922539fc5 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 8d4a866385f..5936cb5f383 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 4b01e5e4fb1..2f0439c75ad 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 15137fba9c6..b317996a603 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 449c00ffe58..c22663eee32 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 1f9ab0a0027..7739e4eb480 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 6b4be8790cf..3f971414542 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 077c199cce1..559a2cbadf2 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 a6d1b6c09bb..c8b356b8f32 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 293fb0b41a7..bab74ac6514 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 cf0834406d1..1c3f99c150a 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 da2ac0f570f..1597bf5696c 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 a96799a545b..bfa52c78460 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 e3b35b2e79d..fcb8b11bc5d 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 9189b633330..3abb9f3516c 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 da7bd18dbaa..f7b2714b48a 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 1907b617399..164c63f8454 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 b89c000c5ee..739e7e8f76c 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 e87a421c79f..8be2dc031ce 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 95de41ed1fd..7659f19304f 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 c0e9f1850e9..4469d88e82d 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 3a828a5c9e1..b3b00c12e55 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 62e48c24791..680d26d2592 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 a724eb67626..f48c687f4e8 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 9d1c9293a2d..597c38e9a97 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 d61a7087a12..41693d411af 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 d5c6f97dff3..9f430238e10 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 f3a1465e281..65cd9362db4 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 d2b5f20e1a9..7b83dbe83a9 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 2f7be0004d9..278aae38de6 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 0de8dc47bfb..06e58f96c67 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 fdf6fbff672..9778c56841b 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 b7b7c1516cd..b0c651adefb 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 4a140288243..59df345cfb3 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 6132e3d5edf..c5372995f0d 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 a64abca76ec..a10850d4087 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 97ffad46970..0f9b7e86fd8 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 0fb13bb0011..b7c2ed4be72 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 8d480b1b2a0..949cd43053c 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 f1e08c776c3..d517ec2f2d7 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 53205fb1c13..5c72c9c0342 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 c7b5648dc96..02b58fd63ca 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 5584bedf9d2..3f27ee7dc40 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 4f1868070b1..017070dafd5 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 82296594fa2..6a6a8dbb2e2 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 93d3d31dbec..daa685d7340 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 1cc434d0f9c..05e85e7caf5 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 4e65b54bbfe..d4ccdcf6538 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 4977bc0fca5..e87de22c614 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 b9c854099cb..b51b6e9eb31 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 c85999c08cd..cc00e10b318 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 f46bbd0d72e..e3169a69440 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 19a190d2ca7..a5b5d4c6fd0 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 5f605f11f33..a614e4ea535 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 df0c0400c64..5c9c0c244e2 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 49f804006d9..573d595ca12 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 e1ad061612e..365f0d23d9e 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 031f49492ab..fd780154930 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 b0f6a5fe856..47cf48b5776 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 b57cd9eb4e0..59a1ac66059 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 8bd08c9bc7f..d6ce55fb75c 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 be4009d6632..88a3537aeb4 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 7b20a555a7e..7d48e112605 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 e4e70578c13..e15cdf2a5b2 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 9efabe863e6..6c1a1df5866 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 6119703bc25..8150b7fb1c7 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 d50915b9e20..aab797a69b9 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 a02a164b07e..f5d080a0dbd 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 85bba38d875..a1421152825 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 d2f65f053e1..cff1abe1a00 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 60c5329b6a1..9093a723ab7 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 f5a001e5456..c22caf854f5 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 a749980a817..b58709d2a10 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 67407306b81..16b531e8971 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 283ca6e1c08..a409a5879c6 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 76b13aefcc3..6e9cb5833d6 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 22be33daaa2..86d13c99a28 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 47870ce9de8..f46d9cbdcf6 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 7105f3ba491..f840694d717 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 057e41aa948..db332d66052 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 590338c52f2..15e2bfbdac1 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 bda1423bca9..17c3ce305a7 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 52f9c5fee29..a0bb24f7a6f 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 5f65b085010..809e0a1a661 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 69a2bdc95d7..c9002a20647 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 41104bf12ef..f93908ce404 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 46a3a65d269..ef7dfa53206 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 6768c076608..74c9a682b27 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 7343fb69b19..1f9232ce69f 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 4510be27825..c58836f78ce 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 5b8e9fd178f..2904d3a8866 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 8a770283337..f269d83cf91 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 3afdaa48daa..62054caa551 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 c702104cc44..ae95c8cbbad 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 56ed4235c38..ad08633152a 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 0c6cff2999f..956a778d1e2 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 51691bc2284..5ed055fa35a 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 afbe3a2d0ad..d780ab6aefa 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 2ecae460a89..1c712639bf6 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 146f66fb043..35383b9fcba 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 bc8d2a1e60c..3854625f086 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 fe3f893b4e1..ba323b4e5ec 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 3fc03022315..d9d09ebe256 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 bc113284719..d2cd04c786d 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 1e0f5e44ae9..7e2a654234a 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 7d226dedaa3..121c13f575a 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 ed71964846b..acfe1369821 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 a17d4a27758..32fc0b0795d 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 3606e2dd117..976546ee196 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 1c5b02638d8..95f69350e2e 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 7f06426f713..c311e05f1b7 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 6c4a047e4ae..daae0145488 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 702d1ca3c2f..b90d57e6896 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 ac9b04e2724..2af956860c0 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 976f81f5da6..c4f2c3a7c20 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 96f3839d525..749a10e2d7a 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 1ad057493d1..cd51375ca8a 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 82065ec5696..f4a30926b04 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 af097782f78..6c0b0f4ebb1 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 0fe91f44ff3..029314983ca 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 561154362f3..f196d2c3727 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 4e03a210afe..e0d7071c2b5 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 8e809e840d7..0c9c364c215 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 83fa97a711c..34a2c14239a 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 b7d8c105ad8..21e1f357c54 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 52efc5a0d84..e5eb90f3914 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 c790c3e4fd6..5b628af6489 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 5211800c128..6320e0b6559 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 e31e576ebd9..a40e73a5a09 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 e4c152fa62d..d039407f892 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 f1bd52a7ccb..e335218d582 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 6d18665f8ba..c4eb26baa2e 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 16f862c2f62..8b73bd9cfab 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 abf909e38af..6343d301b6e 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 994ad21b958..7f25044ee0b 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 c4ae8c6f7af..47f70cc9dc9 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 4e72c4e1c18..beee8adfbdf 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 7baf6e3a7ec..a2c8a6af69d 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 d0e03e9f082..4d7c08323d8 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 b5d48ec6eef..dc497934c54 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 bcd984dc277..3c85ba2cb19 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 5e71e94e86a..411cdf02eed 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 749ba190293..bc25508338f 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 b433a35763c..a3cde7131c8 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 8fd66aaeb3f..16926840677 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 30b5119df6c..7140de69836 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 8a6ea269ebf..0798aa82f58 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 54bfc389a26..d30dd01f00b 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 c0d688435ca..6b8f68cbac7 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 d078a835dab..0ff77df2fc2 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 ea4244c69ed..4fefacecf12 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 e0d1ec4e3f3..919931dd19e 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 6bcb89319ee..f67488a50f7 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 fdd24814a7f..85a3a0e8534 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 146e3df337f..62c59efd843 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 dc624582342..48d245514a8 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 57be2cb55d0..28cc4f3327b 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 31e81e47ce4..21a9a8e3fa3 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 221af409705..fb5c5897e98 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 0a555a6add2..a816feccdcd 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 e63496866fa..5273005ce9b 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 59650a61ea0..dd3008bd499 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 90acf933b78..2d8cc01f8cc 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 ead9b51e3b4..71a64a54845 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 face1b4e28a..492c5f1c5a3 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 91f9b0d049e..6a0ade06489 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 1a776a58ea9..32f5fef8af2 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 4a37b2917b9..a26f7ade1ee 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 04f4c42cb5e..63da7a51ec8 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 7ccdc096f22..d8a745cab4b 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 8ca86cb71f4..a4804445f34 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 9643fdb5f11..62753a86dc6 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 130e40cd639..410867fa783 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 cd4decaa948..38c1d31ea90 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 683ee42b6f6..4b2c7743135 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 1fa0fa57b25..ea7b8db4bbd 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 6f3343f0c09..e4de9b84b84 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 6f0ae5dd509..2898dbe6f74 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 4533e986845..e86be0f6c09 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 c0419343f33..27cec58aa1a 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 432e0703441..206776b114b 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 3d158b916ca..824d4c8b431 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 82b7097756f..faed0917a3f 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 563245f8c2a..852ca06ede6 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 9c78dc5f3b7..fc53a387541 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 5351ad8978e..8a5bc8da75a 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 a53ab4b498b..9f942bc5940 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 60bfee84f64..e9654c09bd3 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 acb569acc09..d2d8d062ab8 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 6a3b460f8ca..73ae443867d 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 aa17f6752fb..52bfc815183 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 c5d71fdf106..e6f012c42bd 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 bd5c6159e21..a82d3e0dce5 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 6d4c9fbb289..28c50d27a02 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 3dadc231509..8ede7e00754 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 baa39384eb9..3035f38b3a7 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 38578c78ccb..9edf194e009 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 40d3af7b478..9feef0c3b7f 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 3ab3564a6b4..03f5f8ac37a 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 930c47061f4..25fb77b539a 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 387a5e8128a..dd2e8d0794c 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 e595796c23d..9e144f3da55 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 be0b557a5fd..b65f6d1ae4d 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 6a27e5f0496..766d9e3fa3f 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 8773bbf9b9a..8ec19ba05b5 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 381bbd5383f..bf73076d887 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 e087c80ce5d..9669206b55d 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 80ce93292a6..d5a3eb35f5f 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 57c9fac83bb..08a9e2f1e61 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 320ce4dafb5..3ec1bbdad10 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 e5655d5776d..1dc4028a5e2 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 ae3d6f7b62d..295e8a05181 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 eed9f370d0b..5dfecca5700 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 b2536f86d40..793cde8ba59 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 b4682f0232d..2b7425c7f5f 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 8675a52ffd8..35142b182c3 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 fda13e92a38..99260b88597 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 6bc3a2f606b..b1f3bdda559 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 8bd17d6ce78..fc44079abe4 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 8c18582a9ae..31a63482771 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 9aa40ff1152..e45858b3f30 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 73831bdfb6a..21d059a590a 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 08260d2bc0e..7aceae62773 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 9e38ed21bd6..fe51e7065e1 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 f1616815511..ebce7071cd7 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 5df8d1bfe5d..eb842142c4f 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 aa8c3274536..566e8c99bda 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 59e467236f7..43c002885cf 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 024aa5f2695..9531145a9ca 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 e9dd8391bb7..c970f5a944a 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 c065fcdb231..1ea4ad92e88 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 be108ded8f1..fe2a2b5e0cd 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 230647f20bf..b7c2863a9d6 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 2d40a2259a2..5b5abe1cc6b 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 817c37bb816..7041a61d5cf 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 6cfc5710af6..41a1bdd6dbe 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 bca5701d616..1fe82cb585a 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 8ec6bf6dbbc..751192a7255 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 a6ff8346592..f97086f1ac9 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 6fd44e2342d..34f2b117764 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 51db5241dc8..7ca11b6c1c2 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 40d1526068c..d6543dcd204 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 47361d55da6..044262285e3 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 b7beb70c8d0..ab34f5bf00d 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 33184eb2928..f4d521f3fb6 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 ca1b5baa803..d1267640efc 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 123b9bd2d98..60e07f94c7b 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 387d05111c0..e2d497f56b5 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 05dd4276d01..f81598d918d 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 0fff618d300..251ff5160d2 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 44434d6c7bc..a5ad56b52ed 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 d1e63f5113c..efa5fa74583 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 8f2557e8411..bb588ad433d 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 fad2f801dcc..7a49ba097d2 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 fb0a008e27c..2919100b3af 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 886e2055420..00827fd1ac1 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 c20814a1ced..470ba33cc27 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 7afb1cc603b..e9420bb779d 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 6204617fc83..378fd72e229 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 1d5f34a788a..31f5b88523b 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 106b28a6db3..757d57305fd 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 fb5ed4b249f..71c8f1b862d 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 98ccffd581c..8c81c20a7dc 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 a3b7ee5f935..43de6fce8f9 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 f92fc0c720b..ed0b6789877 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 a1f93511e7e..d35ff7476d7 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 bca6451c850..fd303a34f9e 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 1e4f00f921a..f0976aa9107 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 5e80cc55ad0..6c00be3693e 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 5ca17cd4639..4f1ea12166c 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 9849aea3c3f..f3b1aa2d43d 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 b3ecec00f7a..39564541160 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 bb76f2c5a43..0b69dbd6de0 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 42cf33d5538..dabec765018 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 7cf39f52377..64557fd521b 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 113b495e17d..343f912ca8b 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 2e3b7456386..f99fe6b530b 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 44964039fee..2ee0c294f9c 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 d5262659d13..88aad7631ac 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 34618a15dde..5cd12253404 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 f7d81ae1429..656499158d4 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 8396096d599..eefaa300c62 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 73b01162e4f..e92fd0e7739 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 3d26719ca43..01f8d5d9173 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 4cb47075c26..26bd1d82c94 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 c72df2a9e11..b7c3bc06891 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 c9b4ee30392..755493ec662 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 b9a021f45a9..1fc8e24a3d9 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 d886aedf6b4..9e5347e1641 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 d21d7086c66..fa57899c9d4 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 c92b4ec35bc..41b03f21ee4 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 bc6e9624f9c..cd3057ec625 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 acf548c82c8..09d1644b8b1 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 39b1b05a873..51162fb8bfa 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 adc78eac368..df639cef0b5 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 3260997dd2a..42b1767f1be 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 e6b136cd335..4eaf76f2ef7 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 e1fb98140ac..fb771c651df 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 540d3fd4e3f..c124036275e 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 fed13443dd0..3055b4e5dab 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 dc0f597c488..5fab9b9f0d0 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 8226cfa14d5..b1905f23d33 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 242018072cb..cde322e5529 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 8e3aad4a832..206758d9fce 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 08ed14f5b06..eddbfbb5f27 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 8097a8c0365..d1d74408e62 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 82a51b5609a..733040dfced 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 49918f9c78f..575e1d15335 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 42172a2e024..2b1bd66f8c5 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 76cedda4ab0..df6590d7375 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 82ae4a0dbc6..e15072126ed 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 837f8d02916..9b8c7e5dcc0 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 5daf4bd3efe..8fd76e38102 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 efcc1a2897e..9852ea19dea 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 76bc53d1fd1..0eff4cb7158 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 555177b9c5e..c2f86d942ec 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 3efb60e16ff..f17350a3cd1 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 329bd948991..db840b16b25 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 b5428d2e346..3be3121a698 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 7dc31772741..b1dcbb6a3b9 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 933c5c7a8f4..bf9318436ec 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 f8b9cef6953..5bdbb13b3df 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 97efd888429..42b18674774 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 b7e871d29d3..d2c9a41165c 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 294ac83e209..4d27e2b9747 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 debb007e756..99713a005c0 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 8764e2f0504..566dc9ef928 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 42a5f14f6d2..198c9290211 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 da8d1d5e413..5315f84135c 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 439918737f5..240779fd5b3 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 bfa7d94857e..5c1cfbb0ad7 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 c9d38feae67..bb1420defe5 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 68a4fe4b571..bbf4f47daa7 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 5d207769edd..53e42a4e650 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 80bf5a7c47f..59f6a4d7c83 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 7ae9f6c9341..7dd0761907c 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 259cf02305b..8da7d576fc6 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 45487e0d176..279cef92621 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 e6554595415..ea8929d140f 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 ae541dd22d2..995e7caccb0 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 baa33d11ca5..daf83213788 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 093a09c2a32..f86877e3916 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 45c7ffe549d..2e83ec4b0c4 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 5fb9905b984..f1685a9e343 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 e630c7d04fa..18a57665662 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 f9b12c316f2..4e45ec56d91 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 670162a4310..a933f935d89 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 c05e89adfbb..56030bc9317 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 34e77fa63bf..9735ca59b89 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 04688237d99..541cc225a0a 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 ba228b027a4..74c709280de 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 45493d921a1..b658db44050 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 987b17e4a8f..3ba1b84b882 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 92948f383cd..35f11f2e861 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 f646b3d12a5..301e749e4a2 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 01f906a7494..d94d9d4c74e 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 01f602954da..636873b415c 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 5bbc6db3cfe..f07b410dd10 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 2f8744c38c0..1d4c828b0bc 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 e1aec8652b6..7d1246214a9 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 dcd25232169..9223c664626 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 47860004d37..de82e98e173 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 0d3bc384745..5f5b1c4a6b0 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 d0ce416d05b..fa58f6c9902 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 64c874c1208..fa697e62c7e 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 58467a9af7f..8be06dcac4f 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 90ca23b184c..a4d232fd5f3 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 72529d962b5..bacb9288155 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 88b2c69097f..fa93d6f0215 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 d8b24a90914..780a0fb7fb3 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 702642bf0b4..d9105d0f4fc 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 c3b6771e7a8..27d0128a9bc 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 95ac59b9f93..35b0a887989 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 0daf1690be0..65abfd4bb38 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 2737b8173be..aabd149d906 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 c8610f59681..bb3186bae08 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 e18b3724fd7..9c9de50de9e 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 3dfc8f4ebb6..33757ea5157 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 fa1f8547963..a4a598484c0 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 d79c90a3b90..62f917267fe 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 ad24a57096c..6d8ad7e228f 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 0830d152d7e..97332b28551 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 8f8f1e1d74c..933a8deb28e 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 06070f71761..714ffbed57f 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 e3309f0ec78..e2bb94204d2 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 bfdc31dd173..0d852ba2c6c 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 9a63cddf405..688be51208d 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 427740d9c44..e051622a81d 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 4c18e1c2647..35783e141da 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 3ffbc1488db..4fa08fd38a4 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 3dca0797775..67a0ca4c2e0 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 852d40cf367..fa205e1b8c1 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 6677031c68d..9b3c126b988 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 c739a09a3b4..8f9ba707955 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 ba70da58eeb..bbead52bda9 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 5d5b7852a2a..2d465be2e11 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 5d72bcf9afb..3c1cc7d9e1e 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 ac6b150bb5b..460c3966380 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 aec8e8085bd..44ac654d5d3 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 40373078918..2238f9f353f 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 5d5f7353cf8..904152a46a4 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 25a2356c6a3..a0adbb4f077 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 182e1f2a29e..89b5fbb4f18 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 c181eb296cb..5c78fd0cdd2 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 ae900882958..f865f846b56 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 93ac4176606..ea8a4c2bae0 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 98852c576e3..271a7c6ea86 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 a130722413f..a32d6f3bf58 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 486664dad4f..8435c7a1a07 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 6ec7093f980..8815de9eceb 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 664e62aa36e..b0ca89a5bca 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 e80fbbfcdcf..c89dcf3881c 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 46ac79fdd3f..fe7801c6217 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 286d4c3284b..739f5cc801b 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 452e42c2b4f..d30f0c58c15 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 bf480ca3294..dadf6c1f3e3 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 cd5df0fd414..77202d9fcd3 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 26956864c26..7cf8d0e7cde 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 a7803f7bf83..16d7936cc8d 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 fd6260e818a..b16be2c0279 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 4d1de9b95ae..37ee22634b6 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 efe6689b7ca..0e7176cf1f2 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 96146c5f65c..60d887794b7 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 c62c5f2363e..0a8319485ba 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 8beb5fd5553..4a6548ec9a0 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 71ab5988509..23d98caf3c7 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 96a95851482..f091570da53 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 99cbacce784..5b9852b706f 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 72a1b58dad5..372ecbf0b3a 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 f11f72743fa..c9467e081a0 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 1b5d1792675..ae46f690f12 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 e5f9735c512..964d87320fd 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 9de83de1099..f37b9bd1b28 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 b1ee65fe8f8..b4c2e5b6afb 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 30f8a335217..a6792c05ae1 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 a9fc23a0fef..60744edbc0b 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 9df619272fb..d809e52feec 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 f7ec8e72d14..c7a516279a6 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 18fd01a080c..32b5905432d 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 98852e32c05..5aeb726c145 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 12bf23b9d19..2d602c44be4 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 3d3cbfb335b..7751e1ca014 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 ac3e22c5d98..758e3da322b 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 211719b8639..758e555b9b8 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 7990d9c0aa9..3110ff16ebc 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 4e98d45d819..37bb805fa73 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 fc542f92cbf..ab90dde1f11 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 947648454a1..001d5d9fd7d 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 d4fb923a1af..ec32a20cff9 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 aef7fd773cb..88ff618cfde 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 c0db8568a8c..ae0319f45f1 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 3a93025925f..a4cb460887a 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 2236119ee7d..df608ac7e79 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 98b24833f9d..9da09c4c31a 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 b027546b705..483fffb463f 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 c0eff2f9b74..36e4e61d497 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 a6924b3de69..6120de14f42 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 7e6681de0d2..fee27550bf0 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 3d948ff9d41..62beda10c58 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 ab6811f42ff..17f69b73e82 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 a1ae05266e8..74e78fe358c 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 5abdfcac301..25f64d6ece2 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 aef7b4666b4..6b565d5d395 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 49a3b6caea4..37eda5ace8c 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 4ac75640db6..5b03781b304 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 21bf3b88f0a..cad6124971c 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 94b75440fc4..d8c9bf0da70 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 0d4e7a6ede0..aa263db8c2e 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 5c23c4d3946..94516f37199 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 8a0b3f796e5..4d454076274 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 d29a9bec61c..de284d1f210 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 8c6f2c8f4e3..2f8485e05e3 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 b262106e1a7..43c208af498 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 00561f0201f..116a7c1e50b 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 5762606b275..c291856c865 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 44c44b1dcfa..352926c56e3 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 9935cbe19ba..6b81179c092 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 fcbc1e7c784..af7c082dc2d 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 fd1fcf0c24b..91a732273cc 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 0bd3212f4d7..f72133fa3ce 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 0826680abcb..d59cbd57d2a 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 ce8f0fd8fb7..51720ebbf44 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 6fdba0aaf8d..3f65b2c7f93 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 d1312d894c2..10013e1fb25 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 89778836458..cd982b58c5c 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 5082c0fff32..248dd5aa95a 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 ea52493106b..8e200803d2d 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 ade6d5d1750..14fd20e0b0b 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 6c4cca2f40e..47f99168580 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 0ff5c1a826f..0f7659f7dcc 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 2ab165cdc18..1f0167c6bbb 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 fca4c1ca008..cb5e2a99a89 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 e25412b66fc..5216607537b 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 4c32d76393a..1d91ade11c3 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 cd109c80bf3..69948b7d14c 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 310d7a101ae..9e655a6c0df 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 4a941578a29..e5e4dfe11cc 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 7f8d2bf451d..6c88e1007a8 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 dd685812766..88065bcf47d 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 7cdc6ad7bc1..992e3c0f486 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 0bf120230aa..50542ecb1d7 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 df7c5b35daf..2321f73897b 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 29d609b5c81..79964a1516b 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 657e10e2604..de3e865ce4f 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 950ff9e0f05..15437bc853e 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 a2d3aceac7b..48dc1afb635 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 270c0f5cbad..f0f099f925f 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 c46f90c0e5b..470366600c2 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 0283f1226fc..edfdaaa16f1 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 6f4e1449e99..45edeb5e153 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 1da9510bcc7..013fa8d826a 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 65a1bf1655c..c67016b38e9 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 93440329b38..ab2ccac49dc 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 100265206cb..cc3f9511fa9 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 e66ca30f115..0f2ae26ceb4 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 0c3599655a0..d05112366c7 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 eeb24a445db..91d1202c344 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 69391ae34b2..81903483d52 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 61f6bf24d6d..0370bdb0bb1 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 79842f3aaf7..9c331006dfc 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 294363833e1..f468d2d0bf6 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 761686e8f9b..e969d94f0c2 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 ea7eac5f12f..92d00be9f3c 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 10a30ce9f53..6cdda171e2d 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 db6377ead89..d293ece860a 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 3398a328321..148a102abcd 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 bb3699101ce..5f80f8acc2f 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 07162c00916..69009066697 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 303beef2806..77b0884c464 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 df3b34253ad..19789fbb7af 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 3554501b2a3..e6ea8daaa72 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 4c99b4da6b6..5d9053bb91c 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 a260ced6a55..cdeccf502ce 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 607111b068f..e3b7af530ce 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 e80bdeae562..5d07f4c77fb 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 dd56da57901..566a720fb6e 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 2490a69254b..e3b3f8f4da1 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 a7b86418b35..305c26bf8ab 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 4699646f5cc..bb37d58ac82 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 732995c78cd..870534c26c8 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 8a9228b9b97..31ba146af71 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 ba0093f2889..1c78c79c90f 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 f19ccaa0522..4af96c75d3d 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 3cb4c960e1c..2031e4a3bdc 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 cf0a9325570..ddc110c603e 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 6a6058e48c9..37c8ee9a5dd 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 58d4ce9d15a..fa364870352 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 21aeabf2adb..65ccd5d0b0c 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 916fa7d390a..614d0d36bc5 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 fb7a885133a..9427c0dba5a 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 87b357d23dc..5489df20d28 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 11f221c7855..71acaaf6c8f 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 7cc9d08a174..25b57e4186b 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 4ee501ae613..fc53994a6d7 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 7cf6c74dfeb..95f2e4b80c6 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 349ced6cb40..882464c004d 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 e861c4905bd..372c3ac5fee 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 c73c234331e..43fe690a8c8 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 1883cc8eb8f..6408920ba65 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 8899e195345..c25fe1d526d 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 00dc1a9f876..ce77dae99ed 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 384be3dc65a..0c337083320 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 87cda220a31..23d2650582f 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 0b93560d3f4..069319a89f1 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 46ff030d529..78ec45a664e 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 2b05615a6c1..4fc8c0b423f 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 78cc562908c..a705a87d899 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 76e481d4ada..232960a191c 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 3c16319d964..40d0c51dd17 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 161eb8933f0..ca688471f3c 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 a6ae3f79b55..680debead67 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 3d6ffa2debb..e7860e0557c 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 0085050848c..644d6754bb5 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 d193d815370..f0fca326fb8 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 c3841721e58..8b484af3bf6 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 b189dd4679b..b0b1972ae58 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 2e9db07d09d..a9f01b22aba 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 faf3552fc88..113409f3396 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 32d2ed8acc4..d5078f7a7a0 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 08e3ac2a1ae..43cfd8aec07 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 dbb7f331fe1..7f7c4d72cae 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 99788f7274e..11c06a5b9b1 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 9fcf231daa8..4800e4a0bd9 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 5ef32167948..723a56b55ca 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 333274f0949..ef823acba39 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 f9f85446333..eb9d747b3c7 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 aab326d453c..b625a37089e 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 d4f84da2653..d7f02b5f851 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 537925b94ab..85efabcdf2a 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 85dd8bca205..a4169a8b3ec 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 ddb5f0f92b4..71251233131 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 e373363ad4d..4ba568cd5c4 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 66bd8334466..abf0e7f11c2 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 b1f37ef11f4..726c7b74829 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 1e68381e3c2..a603479c168 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 3e585485d57..5b0d7828fe3 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 e85038380ef..bcbfb16ed6f 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 bb5bc2ad9bc..aa298f26a64 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 0558603735b..d720754cee1 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 7f7167103f7..9ad02725d56 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 a69237ea440..84552e732a6 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 f3a4a345b23..7c78ebc9a0d 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 a6717689e63..c2d48ac3999 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 87bd35492b6..01e238f90c2 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 a430bd3b3ea..de3586cf8e8 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 1ffc32cbca3..b6bc836154e 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 1ed4d3a7923..e740debae9d 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 3739b65e79f..47c01713d0a 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 ee2b3afa909..bd4a076102e 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 78d0e375c63..3c9565b14b6 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 414fbabdfe2..f2608a6f91b 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 749d6c58ab5..f4688643e91 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 7ae1c8ffa8b..9d8b7d23830 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 0b5bc8d001e..a083ea44543 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 d6ad6380ef5..c67fdd3aa21 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 b71e6c455fe..5e93da06b93 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 32e1cbca3a9..c7549f06d00 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 bce099a8b00..43d903c8505 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 5c5859e06dc..aa85bfc104b 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 0f90cc10275..18ba2bfccf5 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 5fb512cd0fa..629ebc2d43d 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 4c8b3e01953..f11f4edaaa2 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 f2acbf185c3..22a84eb8827 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 8bfc48b8109..2066d2d0d40 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 d87139e7e5e..6b2fd218f2c 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 7e8aef7de99..89aa7a04de4 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 68dfe461553..2245067b499 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 eefe6434ecb..70bbde8c0ab 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 28f2dfa150f..a0752c80248 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 acb340362fa..503caade483 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 581b750aa34..5b75d9ebd64 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 cd5b92c5d4f..ee1c7c3acf8 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 99e7c75f0c1..9bb46599ff5 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 68ed6540d95..9b84fb5bfd0 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 3dadf28aec8..655d4514b4e 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 32ed18fe7e3..0690c059063 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 dcaf3216e94..169a70c7350 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 9e5bd874c88..fd203092813 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 f6f841c36c7..0bba6741e29 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 c8e0806a13c..639897b663a 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 d25b3361358..d8e917dcefc 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 6c8e6b9b28b..78e9a9f0ae5 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 36b3d8fb356..069acc44e62 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 5ec5f2ce817..63f9e9b8b48 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 c20749ea423..34d2236a132 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 e77c89447c3..62c61ec4764 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 1afc39f1d32..c9fca89b69a 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 cfd9b647687..6a5f1759333 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 14e8e24b348..7ddac4a9b39 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 a20879957d6..8226186db5d 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 197aab17463..e3b14cd02f1 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 858d90a5a09..a8bcc5939fb 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 3b3de143f0f..59b297265f2 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 fbe2daccaca..48275f32544 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 bf35d3444b9..77200513de6 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 70e9171dac5..8218bc9712f 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 38baa930b97..dc12c020902 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 5c4cd60ba42..f8751f16191 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 c3ea06c313f..0abe421f7d9 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 a3c156e8e40..00c3f90e6dd 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 32bfe94caaa..760333d0dad 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 e54898ace76..7647bb92093 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 406c41167f4..981c2633759 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 95443d286fa..82fb74914e5 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 f587afa4ab0..3f7a3b641af 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 4e28df213c9..b54111a177c 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 8d2fb550654..2e68ca34802 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 0b7c62cc312..862211d576a 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 ea8a887b385..bf51d28dfca 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 6d54499b741..836ff0745d5 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 870728ccc77..8325acf1340 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 3b60e1e1522..0244f3183f1 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 f74629a5ec1..248b926299c 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 eb812de0033..9b8696cd231 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 095a959406c..5c927aa20cb 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 3eb17c7d837..129e4ca6d5b 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 f924da4822f..670bfb80e58 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 bd29b160b67..cad7a72e3ab 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 91f3a17b553..553af27e3fd 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 f00c779d69d..21a6d39e8c2 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 60f316e4aa0..413bc460bd8 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 e251cca1b7a..228c087b7ed 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 ce2978faf86..f53e08425cb 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 640e453665e..fcee61943c6 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 a0901c6718f..4f621a0e504 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 8d6853e73ee..9492c6649ad 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 2fdbc256767..24991e365cb 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 b8275aac293..c023841414b 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 71a9317705d..056e5ea5e97 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 e21a9c1f57a..7ae84055b04 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 3ca88ff2896..dd37dfad6fa 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 b7efc3befc6..192b42eba5d 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 4a901f4e896..b1dd11872de 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 071f3843017..fb20fde6238 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 85262274921..addc5d45d04 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 a3774ff501d..1100507f6aa 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 19c12cd931c..32e41e509cf 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 f788ac63e4c..d3ab923231a 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 3069235d11c..9f95f2e7a98 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 0b144242c9d..85e34c00eb8 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 ce49db9e7d6..c068f888f18 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 ef450d5ad4c..4c1831707d6 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 68bdfecf420..52d3e9c9168 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 dc3735b8444..38d34786a15 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 aa6a93a6f59..0fd407e85f1 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 fa6ef63f8e2..302afe4b0a9 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 dbc0315278f..aba80c68ee8 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 eee947ac2e9..353e480beae 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 7d13125f775..9c280138676 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 a12095d0b6b..a5456673f27 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 a35f626d07e..cd2401c3d0b 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 d6ae0a1797b..21f89547cfc 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 dd19092735b..09391a8f3ca 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 4a09af94d2e..fb946b14640 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 78ca27060aa..d0780573c77 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 ef8794706a9..668bab37dd4 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 d31e6620a7e..71d033f3017 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 8dc94c6e5be..c755b6c309e 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 537be95d667..1d9cac820ae 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 a73bb1fed50..6c5c5c5cf92 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 7ae48b4d59a..bd23dd8a908 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 c8548968e8e..1d48421696e 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 9a14377e387..59e4691b4fc 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 5b6bf695373..28c8fb66313 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 0286e9a10d3..bdd0034e6b2 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 7435e37a81d..c544fc7f8f8 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 52fad507362..4a789ab182b 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 34fd9eddb4c..3f5807a155e 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 8e3eb564218..ac111982d49 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 9caf17475e7..4126fc20e4a 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 70686caf75e..5f94948dde8 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 645c5c79acf..3561b8c45c4 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 4bde7712127..0d4f2ec69c8 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 e81fbf7a573..112e8e126a1 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 434c12cda15..ad04dd206e4 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 853a04ceaa9..15329db3daf 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 0d304f9817c..ed4b058b440 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 369f0af98b7..6c267c0a484 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 fdac47cfe0d..770f517ad00 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 31beb967e89..9267ad694b5 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 508ca37fc60..edf362b9bac 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 d13d49f8c8c..246a3800bd7 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 f95965136ae..56a46e75dce 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 c98b92672ce..dcf12b79aa4 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 c30c43f9903..9b483a93c7f 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 4d9e405b54b..49ffd6cf538 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 428f97d3bc9..087e07eae1b 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 e9d21d4f5b3..cd7a89d31f6 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 d0027dc9a13..f25131499e1 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 5eec65462c2..831b8abea83 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 49f59a68613..c136e3cc346 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 e05df01aa8a..e61f4a620c1 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 632e6e4b061..19d69533d3e 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 9ffaf41692d..0024b725f54 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 663bada8fe6..50ee8d317e7 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 389132a10fa..28b69d0a611 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 9addb96d874..860802a3994 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 706e86015d6..04ecd7ed015 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 594def38539..ef227285240 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 570ec3aeaa6..8a2f307a62d 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 afb03ac5c68..fb62a32e4db 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 76ec094f651..2841bb7ba47 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 cd530c19e2d..357f9203857 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 cd9a01ce352..b91dadff446 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 633b29dba96..0ce84e1ac89 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 304b4b01e02..40cae0cb1f0 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 582517e173c..a68da7e9b8f 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 a09f79573ef..296bf6b839e 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 33c2e9d4137..703691a21bc 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 213ee849330..075c91f9d56 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 d3297b29a38..e34adf18c00 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 7b8892d1835..1b799fa213d 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 58fba5b149c..716e65e666e 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 35661787ea0..1c46ffa0d4d 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 50e6745df0f..062f73fc898 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 372d4797edf..c5e273a6752 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 43f9a171803..734367aa333 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 c65bb29b7b3..802c2b74033 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 7f7a7cf9a7a..d631154dd0c 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 99883221a2d..9b8a306feb8 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 25e27f3bd49..8c8060da3e2 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 c245edc39ab..f40e2ded252 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 930ebbc0222..58f051aa062 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 3d2e30a93e0..e25241e03ee 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 fb5e120bb70..c67d76a38be 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 00000000000..309fb8de466 --- /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 5e98ebbfda6..26671b6454c 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 7af48162a83..b7607d79c66 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 b020d76a124..8b896c13a1e 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 03da21e685b..fac850572c1 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 ce22611dfa9..12d4bd5ebaa 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 5f4b806532d..774121977f4 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 8e75ddca93f..722c29031ea 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 a1291261b1e..1c2c5d7ac2d 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 02bbc1a645c..03b2851161f 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 e794c27818e..db663aa31f1 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 278647d29ec..06e8d90f225 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 d889b44c876..604791e19fa 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 e9bfdfc7d05..ba4f25423f3 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 2220021e0bb..a04bb901872 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 45acf49247a..1f4c4e84d69 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 b243bdc86dd..206e73b1d65 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 d00bf8db964..74e1a7c11fc 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 04ae222a1c2..12c43636190 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 1632253ed48..847e79411e2 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 48ab7070bf6..de336524945 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 56dd9a82d07..419b10505ea 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 6b4fa7708e2..d1908e6c2e1 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 04d91226e6a..9e30c718c02 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 f8b2b4cb132..6dba1a7d909 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 1d1a5c767d2..e3b1edf7919 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 b51d59e2edf..5992e595699 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 6549d33bbaf..4ac5129417d 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 7f51a3cd9a1..2c8baed51a2 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 0030133644f..1df5a3016db 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 e40076b1602..2c33fe7fef7 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 8da69ca5f80..af44be8e88f 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 f3cdbd0cefe..2fe4d533213 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 727feda7ea6..b10336542c5 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 e255467c2eb..7687eb4b470 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 655ab9ba360..e74666ceea7 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 cbcf94203ac..72a70c58b10 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 06edd019013..c904078c8d5 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 b4c2a780479..02ce2883467 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 948b6c670ae..9df1388e587 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 e8f3e2e2728..cd78ea0f0eb 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 5ad22aa9ca0..4d40db5b474 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 7e573f646c1..abb44458059 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 a5cf86f3378..ee48b80832c 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 76943510bc4..e559b244bba 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 d0ade22bc6b..11a8c0b7c14 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 4b49c57b45c..501912d8fb0 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 500ffc31d45..10b3a0c9e81 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 08dc1435ccc..1086f5bc5f3 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 2645cfbea52..a45d8369cbc 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 3c3d1767c7d..f5209e499ab 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 266bf08334f..b2e5275afe6 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 6d00f3c9ef9..9b948dae913 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 b1699008beb..e89a579ba35 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 f3aef2528e0..3346458892e 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 73ad405ea41..b11ccdfa0f5 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 87388d4f1c2..038d90cdf2d 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 3864e7c23e3..028edbafd9b 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 58e217df7bb..5b422f06c95 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 8dc8cc62704..d8c6aaeabf6 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 fbfd3b81e3a..95dc69d7f87 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 3a9bbf60d33..bd458de18db 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 574e4180bd0..85d145908f9 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 a1a86f34c8a..3420fb04e33 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 e7c46d445b0..b083edcb418 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 dc944b5c768..be89a4d9451 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 a90c9a6275b..7674ee4cd90 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 a69e86de3c5..cb07e9c0393 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) } }